Click here to Skip to main content
16,016,693 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CEvent? Pin
Blake Miller2-Jun-04 4:34
Blake Miller2-Jun-04 4:34 
GeneralRe: CEvent? Pin
David Chamberlain2-Jun-04 6:05
David Chamberlain2-Jun-04 6:05 
GeneralSocket messages Pin
erkanina2-Jun-04 1:22
erkanina2-Jun-04 1:22 
GeneralRe: Socket messages Pin
Trollslayer2-Jun-04 1:33
mentorTrollslayer2-Jun-04 1:33 
GeneralRe: Socket messages Pin
Antony M Kancidrowski2-Jun-04 1:33
Antony M Kancidrowski2-Jun-04 1:33 
GeneralRe: Socket messages Pin
erkanina2-Jun-04 1:54
erkanina2-Jun-04 1:54 
GeneralRe: Socket messages Pin
erkanina2-Jun-04 2:03
erkanina2-Jun-04 2:03 
Generalworking with CToolTipCtrl Pin
Aviv Halperin2-Jun-04 1:01
Aviv Halperin2-Jun-04 1:01 
Hi,

I have a CEdit derived class I want to use for all my edit buttons in a dialog (lets call it MyCEditBase).

I want to use a tool tip for each edit that is derived from MyCEditBase.

I added the definition
CToolTipCtrl m_wndToolTip;
to MyCEditBase header file.

Now I created and
I'm trying to use a tool tip for a CEdit control with the following code:
m_wndToolTip.Create(this);
m_wndToolTip.Activate(m_EnableToolTip);
m_ToolTipText = "Edit Button Text";
m_wndToolTip.AddTool(this, m_ToolTipText);

Now to show the tool tip I have to override PreTranslateMessage but this is NEVER CALLED!!!

Then I tried to catch all ouse messages in OnWndMsg and execute the following:
m_wndToolTip.RelayEvent(&msg);
with a msg I filled myself. This does not show a tool tip.

Thanks.

avivhal
GeneralI wnt to convert SDI project to MDI Pin
auur2-Jun-04 1:00
auur2-Jun-04 1:00 
GeneralRe: I wnt to convert SDI project to MDI Pin
David Crow2-Jun-04 3:08
David Crow2-Jun-04 3:08 
Generalwindows services Pin
Csharper992-Jun-04 0:57
Csharper992-Jun-04 0:57 
GeneralRe: windows services Pin
David Crow2-Jun-04 3:09
David Crow2-Jun-04 3:09 
GeneralRe: windows services Pin
Blake Miller2-Jun-04 4:14
Blake Miller2-Jun-04 4:14 
GeneralMenu Item Bitmap Pin
amine.turki2-Jun-04 0:51
amine.turki2-Jun-04 0:51 
GeneralRe: Menu Item Bitmap Pin
Anonymous2-Jun-04 1:31
Anonymous2-Jun-04 1:31 
GeneralMenu Item Bitmap Pin
amine.turki2-Jun-04 0:51
amine.turki2-Jun-04 0:51 
Generalvector to raster, have u ever heard Pin
neuconcongaymai2-Jun-04 0:39
neuconcongaymai2-Jun-04 0:39 
GeneralRe: vector to raster, have u ever heard Pin
neuconcongaymai2-Jun-04 23:31
neuconcongaymai2-Jun-04 23:31 
GeneralRe: vector to raster, have u ever heard Pin
eric_burden6-Jul-04 2:55
eric_burden6-Jul-04 2:55 
GeneralConnecting to a datasource Pin
si_692-Jun-04 0:20
si_692-Jun-04 0:20 
GeneralRe: Connecting to a datasource Pin
GermanGeorge2-Jun-04 2:31
GermanGeorge2-Jun-04 2:31 
GeneralRe: Connecting to a datasource Pin
si_692-Jun-04 2:53
si_692-Jun-04 2:53 
GeneralRe: Connecting to a datasource Pin
David Crow2-Jun-04 3:14
David Crow2-Jun-04 3:14 
GeneralRe: Connecting to a datasource Pin
si_692-Jun-04 3:25
si_692-Jun-04 3:25 
GeneralRe: Connecting to a datasource Pin
David Crow2-Jun-04 3:34
David Crow2-Jun-04 3:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.