Click here to Skip to main content
16,008,183 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Obtain a handle to a label in a container Pin
Abhishek Karnik1-Jul-05 9:27
Abhishek Karnik1-Jul-05 9:27 
GeneralRe: Obtain a handle to a label in a container Pin
Jose Lamas Rios30-Jun-05 16:33
Jose Lamas Rios30-Jun-05 16:33 
GeneralRe: Obtain a handle to a label in a container Pin
Abhishek Karnik1-Jul-05 9:32
Abhishek Karnik1-Jul-05 9:32 
GeneralRe: Obtain a handle to a label in a container Pin
Jose Lamas Rios1-Jul-05 9:41
Jose Lamas Rios1-Jul-05 9:41 
GeneralModeless Dialog not moving Pin
KnaveR77730-Jun-05 9:16
KnaveR77730-Jun-05 9:16 
GeneralRe: Modeless Dialog not moving Pin
David Crow30-Jun-05 9:38
David Crow30-Jun-05 9:38 
GeneralRe: Modeless Dialog not moving Pin
KnaveR77730-Jun-05 10:30
KnaveR77730-Jun-05 10:30 
GeneralRe: Modeless Dialog not moving Pin
Blake Miller30-Jun-05 12:51
Blake Miller30-Jun-05 12:51 
Maybe you should try patching up your switch for WM_COMMAND, considering this note in MSDN:

The WM_COMMAND message is sent when the user selects a command item from a menu, when a control sends a notification message to its parent window, or when an accelerator keystroke is translated.

wParam
The high-order word specifies the notification code if the message is from a control. If the message is from an accelerator, this value is 1. If the message is from a menu, this value is zero.
The low-order word specifies the identifier of the menu item, control, or accelerator.



You completely switched on wParam instead of breaking out the hiword and loword D'Oh! | :doh:

switch( LOWORD(wParam) ){<br />
case IDOK:<br />
DestroyWindow(hDlg);<br />
return TRUE;<br />
}

GeneralRe: Modeless Dialog not moving Pin
KnaveR77730-Jun-05 13:25
KnaveR77730-Jun-05 13:25 
GeneralRe: Modeless Dialog not moving Pin
Jose Lamas Rios30-Jun-05 16:18
Jose Lamas Rios30-Jun-05 16:18 
GeneralRe: Modeless Dialog not moving Pin
KnaveR77730-Jun-05 16:38
KnaveR77730-Jun-05 16:38 
GeneralRe: Modeless Dialog not moving Pin
Blake V. Miller30-Jun-05 17:23
Blake V. Miller30-Jun-05 17:23 
GeneralRe: Modeless Dialog not moving Pin
KnaveR7771-Jul-05 4:02
KnaveR7771-Jul-05 4:02 
GeneralColour Format (Please help) Pin
llp00na30-Jun-05 8:57
llp00na30-Jun-05 8:57 
GeneralRe: Colour Format (Please help) Pin
Chris Losinger30-Jun-05 10:18
professionalChris Losinger30-Jun-05 10:18 
GeneralRe: Colour Format (Please help) Pin
llp00na30-Jun-05 11:02
llp00na30-Jun-05 11:02 
GeneralRe: Colour Format (Please help) Pin
Chris Losinger30-Jun-05 11:07
professionalChris Losinger30-Jun-05 11:07 
GeneralRe: Colour Format (Please help) Pin
llp00na30-Jun-05 23:40
llp00na30-Jun-05 23:40 
GeneralRe: Colour Format (Please help) Pin
David Crow1-Jul-05 3:30
David Crow1-Jul-05 3:30 
GeneralRe: Colour Format (Please help) Pin
David Crow1-Jul-05 3:32
David Crow1-Jul-05 3:32 
GeneralHelp on this error!! Pin
smartymanav30-Jun-05 8:51
smartymanav30-Jun-05 8:51 
GeneralRe: Help on this error!! Pin
David Crow30-Jun-05 9:18
David Crow30-Jun-05 9:18 
GeneralRe: Help on this error!! Pin
smartymanav30-Jun-05 9:23
smartymanav30-Jun-05 9:23 
GeneralRe: Help on this error!! Pin
David Crow30-Jun-05 9:34
David Crow30-Jun-05 9:34 
GeneralRe: Help on this error!! Pin
smartymanav30-Jun-05 20:42
smartymanav30-Jun-05 20:42 

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.