Click here to Skip to main content
15,914,111 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Programming Question in the Lounge *I know about the disclaimer... Pin
Bob X13-Apr-06 15:03
Bob X13-Apr-06 15:03 
GeneralRe: Programming Question in the Lounge *I know about the disclaimer... Pin
code-frog13-Apr-06 15:11
professionalcode-frog13-Apr-06 15:11 
GeneralRe: Programming Question in the Lounge *I know about the disclaimer... Pin
Bob X13-Apr-06 15:44
Bob X13-Apr-06 15:44 
GeneralRe: Programming Question in the Lounge *I know about the disclaimer... Pin
Jon Sagara13-Apr-06 15:35
Jon Sagara13-Apr-06 15:35 
GeneralRe: Programming Question in the Lounge *I know about the disclaimer... Pin
Bob X13-Apr-06 15:44
Bob X13-Apr-06 15:44 
GeneralRe: Programming Question in the Lounge *I know about the disclaimer... Pin
El Corazon13-Apr-06 16:08
El Corazon13-Apr-06 16:08 
GeneralRe: Programming Question in the Lounge *I know about the disclaimer... Pin
Bob X13-Apr-06 16:24
Bob X13-Apr-06 16:24 
GeneralRe: Programming Question in the Lounge *I know about the disclaimer... Pin
code-frog13-Apr-06 16:35
professionalcode-frog13-Apr-06 16:35 
The reason you are not getting good results is that very few books on C++ start with dialogs, forms and buttons. Almost all of them are console based and require you to learn enough of the CLI programming to get a feel for things. Once you know C++ you can go learn anything.

Concrete examples for you are CreateWindowEx() then look up hwnd and start handling messages that go to that window. Handling the messages that get sent to a window by it's hwnd is one way to get WM_MOUSEDOWN and WM_MOUSEUP these are WM_ WindowMessages google for them.

I'm saying way more than I should this being the lounge and all but with what I've put here you have more than enough ammunition to go forth and conquer using google.

If you search Win32Api you're going to get 1000's upon 1000's of examples.

- Rex



The enemy's gate is down. Cool | :cool:

Welcome to CP in your language. Post the unicode version in My CP Blog[^] now.
GeneralRe: Programming Question in the Lounge *I know about the disclaimer... Pin
El Corazon13-Apr-06 16:36
El Corazon13-Apr-06 16:36 
GeneralRe: Programming Question in the Lounge *I know about the disclaimer... Pin
Bob X13-Apr-06 16:45
Bob X13-Apr-06 16:45 
GeneralRe: Programming Question in the Lounge *I know about the disclaimer... Pin
El Corazon13-Apr-06 16:51
El Corazon13-Apr-06 16:51 
GeneralRe: Programming Question in the Lounge *I know about the disclaimer... Pin
Bob X13-Apr-06 17:01
Bob X13-Apr-06 17:01 
GeneralRe: Programming Question in the Lounge *I know about the disclaimer... Pin
Jon Sagara13-Apr-06 16:27
Jon Sagara13-Apr-06 16:27 
GeneralRe: Programming Question in the Lounge *I know about the disclaimer... Pin
Chris Maunder13-Apr-06 18:13
cofounderChris Maunder13-Apr-06 18:13 
GeneralRe: Programming Question in the Lounge *I know about the disclaimer... Pin
Bob X14-Apr-06 4:28
Bob X14-Apr-06 4:28 
QuestionMFC ActiveX with 2 Controls Pin
Stewart8113-Apr-06 13:01
Stewart8113-Apr-06 13:01 
Questionvector<bool> can't convert to 'bool *'? Pin
Yonggoo13-Apr-06 11:31
Yonggoo13-Apr-06 11:31 
QuestionHow to disable persistient scrollbars (VC++, no MFC) Pin
chasetoys13-Apr-06 10:15
chasetoys13-Apr-06 10:15 
AnswerRe: How to disable persistient scrollbars (VC++, no MFC) Pin
Sheng Jiang 蒋晟13-Apr-06 11:50
Sheng Jiang 蒋晟13-Apr-06 11:50 
QuestionWhich part of the O.S Supports Multithreading? Pin
CodeVarma13-Apr-06 8:07
CodeVarma13-Apr-06 8:07 
AnswerRe: Which part of the O.S Supports Multithreading? Pin
John M. Drescher13-Apr-06 8:34
John M. Drescher13-Apr-06 8:34 
AnswerRe: Which part of the O.S Supports Multithreading? Pin
ThatsAlok13-Apr-06 8:39
ThatsAlok13-Apr-06 8:39 
QuestionFirst-chance exception CFileDialog Pin
RobJones13-Apr-06 7:34
RobJones13-Apr-06 7:34 
AnswerRe: First-chance exception CFileDialog Pin
David Crow13-Apr-06 7:41
David Crow13-Apr-06 7:41 
GeneralRe: First-chance exception CFileDialog Pin
RobJones13-Apr-06 8:23
RobJones13-Apr-06 8:23 

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.