Click here to Skip to main content
15,911,531 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to make a window appear active, while a modal dialog is open. Pin
John Jensen28-Jun-01 0:38
John Jensen28-Jun-01 0:38 
GeneralA Dialog attached to the frame Pin
27-Jun-01 21:44
suss27-Jun-01 21:44 
GeneralRe: A Dialog attached to the frame Pin
27-Jun-01 22:16
suss27-Jun-01 22:16 
Questionhow to hide CFrameWnd ! Pin
goury27-Jun-01 20:53
goury27-Jun-01 20:53 
AnswerRe: how to hide CFrameWnd ! Pin
NormDroid27-Jun-01 21:16
professionalNormDroid27-Jun-01 21:16 
GeneralExitWindows API Call Pin
sankar27-Jun-01 19:48
sankar27-Jun-01 19:48 
GeneralRe: ExitWindows API Call Pin
27-Jun-01 21:31
suss27-Jun-01 21:31 
GeneralDate/Time field in MS Access Pin
yamini27-Jun-01 18:38
yamini27-Jun-01 18:38 
GeneralRe: Date/Time field in MS Access Pin
27-Jun-01 22:09
suss27-Jun-01 22:09 
GeneralRe: Date/Time field in MS Access Pin
yamini27-Jun-01 22:18
yamini27-Jun-01 22:18 
GeneralRe: Date/Time field in MS Access Pin
27-Jun-01 22:34
suss27-Jun-01 22:34 
GeneralRe: Date/Time field in MS Access Pin
yamini28-Jun-01 2:28
yamini28-Jun-01 2:28 
Generalcursor problem Pin
27-Jun-01 18:19
suss27-Jun-01 18:19 
QuestionWhat is the easiest way to convert a HBITMAP to JPEG file? Pin
Xavier John27-Jun-01 17:50
Xavier John27-Jun-01 17:50 
AnswerRe: What is the easiest way to convert a HBITMAP to JPEG file? Pin
Jonathon Lockett27-Jun-01 18:31
Jonathon Lockett27-Jun-01 18:31 
GeneralHandling a mouse click in a child window Pin
Alex Griffing27-Jun-01 12:58
Alex Griffing27-Jun-01 12:58 
Hi everyone! This is my first foray into 'The Code Project'.

I learned windows programming through MFC and I'm just now going back and trying to relearn it without MFC (so that presumably when I return to using it I will have a much higher appreciation.) Anyway, I have a simple problem and I would be grateful for help with it.

I made the default MSVC 6.0 SDK 'Hello World' project. Then I put some controls on it using CreateWindow("EDIT"...) and "STATIC" and "BUTTON". Now I want a window that simply sends a message to the parent giving client x,y coordinates when it is clicked on. The way I used to do this was just to capture the clicks in the main window and do the calculations to see whether the click was in any of the child windows. I tried subclassing (I just learned what subclassing is) a "STATIC" window to handle the WM_LBUTTONDOWN, but it acts like it's not even there . I know the subclassing worked though because it handles WM_PAINT fine.

Thank you!
GeneralRe: Handling a mouse click in a child window Pin
Ben Burnett27-Jun-01 19:21
Ben Burnett27-Jun-01 19:21 
GeneralRe: Handling a mouse click in a child window Pin
Alex Griffing28-Jun-01 7:22
Alex Griffing28-Jun-01 7:22 
GeneralWindow message......... Pin
27-Jun-01 12:05
suss27-Jun-01 12:05 
GeneralRe: Window message......... Pin
27-Jun-01 17:32
suss27-Jun-01 17:32 
GeneralHELP!!!!!!!!!!!!!!!! Pin
27-Jun-01 11:07
suss27-Jun-01 11:07 
GeneralRe: HELP!!!!!!!!!!!!!!!! Pin
Chris Losinger27-Jun-01 11:11
professionalChris Losinger27-Jun-01 11:11 
GeneralRe: HELP!!!!!!!!!!!!!!!! Pin
Carlos Antollini27-Jun-01 11:19
Carlos Antollini27-Jun-01 11:19 
GeneralRe: HELP!!!!!!!!!!!!!!!! Pin
Carlos Antollini27-Jun-01 11:20
Carlos Antollini27-Jun-01 11:20 
GeneralHELP!!!!!!!!!!!!!!!! Pin
27-Jun-01 11:05
suss27-Jun-01 11:05 

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.