Click here to Skip to main content
15,918,243 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Splash screen Pin
jmkhael23-Oct-02 8:03
jmkhael23-Oct-02 8:03 
GeneralRe: Splash screen Pin
MFC is the Best23-Oct-02 8:08
MFC is the Best23-Oct-02 8:08 
Generallinking libs in... Pin
l a u r e n23-Oct-02 7:39
l a u r e n23-Oct-02 7:39 
GeneralRe: linking libs in... Pin
Stephane Rodriguez.23-Oct-02 7:43
Stephane Rodriguez.23-Oct-02 7:43 
GeneralRe: linking libs in... Pin
l a u r e n23-Oct-02 7:51
l a u r e n23-Oct-02 7:51 
GeneralMy dialog based app. don't run on another machine (ActiveX???) Pin
whofmans23-Oct-02 7:37
whofmans23-Oct-02 7:37 
GeneralRe: My dialog based app. don't run on another machine (ActiveX???) Pin
Stephane Rodriguez.23-Oct-02 7:53
Stephane Rodriguez.23-Oct-02 7:53 
GeneralMFC ON_CBN_EDITCHANGE message handler never called! Pin
Daniel Strigl23-Oct-02 7:35
Daniel Strigl23-Oct-02 7:35 
I have created a combo box control in a command bar control with the following code:

// Add a combo box control to the first command bar
::CommandBar_InsertComboBox(hBar, hInst, 120 /* = iWidth */, CBS_DROPDOWNLIST /*| WS_DISABLED*/, ID_ROOMS_COMBO, sizeof(g_arCmdbarRoomsButtons) / sizeof(TBBUTTON) /* = iButton */);


To get a message when the user change the selected item of the combo box control I added the following message handler to my CMainFrame class:

...
ON_CBN_EDITCHANGE(ID_ROOMS_COMBO, OnEditChangeRoomsCombo)
...
void CMainFrame::OnEditChangeRoomsCombo() 
{
    ...
}
...


So, the problem is that when the user change the selected item of the combo box control, this message handler will never called by the system!

(I work with eMbedded VC++ 3.0 and WinCE 3.0, but I think it is a simple MFC problem - a problem that I implemented something wrong).


Daniel Wink | ;)
---------------------------
Never change a running system!
GeneralRe: MFC ON_CBN_EDITCHANGE message handler never called! Pin
valikac23-Oct-02 7:58
valikac23-Oct-02 7:58 
GeneralRe: MFC ON_CBN_EDITCHANGE message handler never called! Pin
Daniel Strigl23-Oct-02 19:59
Daniel Strigl23-Oct-02 19:59 
GeneralANSI --> UNICODE conversion problem! Pin
Daniel Strigl23-Oct-02 7:26
Daniel Strigl23-Oct-02 7:26 
GeneralRe: ANSI --> UNICODE conversion problem! Pin
l a u r e n23-Oct-02 7:41
l a u r e n23-Oct-02 7:41 
GeneralRe: ANSI --> UNICODE conversion problem! Pin
Daniel Strigl23-Oct-02 8:10
Daniel Strigl23-Oct-02 8:10 
GeneralRe: ANSI --> UNICODE conversion problem! Pin
Stephane Rodriguez.23-Oct-02 7:45
Stephane Rodriguez.23-Oct-02 7:45 
GeneralRe: ANSI --> UNICODE conversion problem! Pin
Daniel Strigl23-Oct-02 8:00
Daniel Strigl23-Oct-02 8:00 
GeneralRe: ANSI --> UNICODE conversion problem! Pin
Michael Dunn23-Oct-02 13:35
sitebuilderMichael Dunn23-Oct-02 13:35 
GeneralRe: ANSI --> UNICODE conversion problem! Pin
Daniel Strigl23-Oct-02 20:10
Daniel Strigl23-Oct-02 20:10 
GeneralPlatform SDK's LoadImage() Pin
Sydney Liles23-Oct-02 7:18
Sydney Liles23-Oct-02 7:18 
GeneralRe: Platform SDK's LoadImage() Pin
Stephane Rodriguez.23-Oct-02 7:49
Stephane Rodriguez.23-Oct-02 7:49 
GeneralRe: Platform SDK's LoadImage() Pin
Sydney Liles23-Oct-02 8:16
Sydney Liles23-Oct-02 8:16 
GeneralRe: Platform SDK's LoadImage() Pin
Stephane Rodriguez.23-Oct-02 8:27
Stephane Rodriguez.23-Oct-02 8:27 
GeneralRe: Platform SDK's LoadImage() Pin
Sydney Liles23-Oct-02 8:43
Sydney Liles23-Oct-02 8:43 
GeneralRe: Platform SDK's LoadImage() Pin
Paul M Watt23-Oct-02 9:49
mentorPaul M Watt23-Oct-02 9:49 
GeneralRe: Platform SDK's LoadImage() Pin
Sydney Liles23-Oct-02 9:56
Sydney Liles23-Oct-02 9:56 
GeneralLinker error, I messed up with my SDK directory Pin
User 665823-Oct-02 7:10
User 665823-Oct-02 7:10 

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.