Click here to Skip to main content
15,891,033 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralHELP!!!!!!!!!!!!!!!! Pin
27-Jun-01 11:03
suss27-Jun-01 11:03 
GeneralRe: HELP!!!!!!!!!!!!!!!! Pin
Tomasz Sowinski27-Jun-01 11:10
Tomasz Sowinski27-Jun-01 11:10 
GeneralRe: HELP!!!!!!!!!!!!!!!! Pin
Joan M27-Jun-01 23:29
professionalJoan M27-Jun-01 23:29 
GeneralCStatic WS_VISIBLE how to repaint ? (newbies) Pin
27-Jun-01 11:01
suss27-Jun-01 11:01 
GeneralRe: CStatic WS_VISIBLE how to repaint ? (newbies) Pin
27-Jun-01 16:07
suss27-Jun-01 16:07 
GeneralRe: CStatic WS_VISIBLE how to repaint ? (newbies) Pin
27-Jun-01 17:38
suss27-Jun-01 17:38 
GeneralRe: CStatic WS_VISIBLE how to repaint ? (newbies) Pin
28-Jun-01 9:32
suss28-Jun-01 9:32 
GeneralUsing a template to copy data Pin
27-Jun-01 10:49
suss27-Jun-01 10:49 

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.