Click here to Skip to main content
15,917,456 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionButton without focus? Pin
Moak21-Jan-03 23:50
Moak21-Jan-03 23:50 
AnswerRe: Button without focus? Pin
chepuri_uk22-Jan-03 0:22
chepuri_uk22-Jan-03 0:22 
GeneralRe: Button without focus? Pin
Moak22-Jan-03 0:51
Moak22-Jan-03 0:51 
AnswerRe: Button without focus? Pin
xxhimanshu22-Jan-03 0:26
xxhimanshu22-Jan-03 0:26 
GeneralRe: Button without focus? Pin
Moak22-Jan-03 1:06
Moak22-Jan-03 1:06 
QuestionHow to Add an Event Handler for Toolbar Button in VC++7 Pin
Exceter21-Jan-03 23:37
Exceter21-Jan-03 23:37 
AnswerRe: How to Add an Event Handler for Toolbar Button in VC++7 Pin
xxhimanshu22-Jan-03 0:32
xxhimanshu22-Jan-03 0:32 
GeneralRe: How to Add an Event Handler for Toolbar Button in VC++7 Pin
Rage22-Jan-03 1:01
professionalRage22-Jan-03 1:01 
You may also try the easy solution :

Add your button in the ressource editor.
Doubleclick on it to open properties.
Give it a name (for instance ID_OPENFILE).
Close the window, go open the class wizard.
Select your button name in the list on the right and handle the corresponding message. All the stuff given by Himanshu will be added automatically.

Oh, BTW, Himanshu, feel free to put your code into a <pre> environment, it is far more readable. Poke tongue | ;-P


~RaGE();
GeneralA question about the precompiled directive ASSERT Pin
George221-Jan-03 22:20
George221-Jan-03 22:20 
GeneralRe: A question about the precompiled directive ASSERT Pin
Rage21-Jan-03 22:28
professionalRage21-Jan-03 22:28 
GeneralRe: A question about the precompiled directive ASSERT Pin
George221-Jan-03 23:42
George221-Jan-03 23:42 
GeneralRe: A question about the precompiled directive ASSERT Pin
Rage22-Jan-03 0:01
professionalRage22-Jan-03 0:01 
GeneralRe: A question about the precompiled directive ASSERT Pin
George222-Jan-03 0:18
George222-Jan-03 0:18 
GeneralRe: A question about the precompiled directive ASSERT Pin
Rage22-Jan-03 0:52
professionalRage22-Jan-03 0:52 
GeneralRe: A question about the precompiled directive ASSERT Pin
Jörgen Sigvardsson22-Jan-03 3:28
Jörgen Sigvardsson22-Jan-03 3:28 
GeneralRe: A question about the precompiled directive ASSERT Pin
George222-Jan-03 15:37
George222-Jan-03 15:37 
GeneralRe: A question about the precompiled directive ASSERT Pin
Jörgen Sigvardsson22-Jan-03 21:58
Jörgen Sigvardsson22-Jan-03 21:58 
GeneralRe: A question about the precompiled directive ASSERT Pin
George223-Jan-03 15:55
George223-Jan-03 15:55 
Generalcopy user I/O (eg creating,modifing,reading a file or folder)to a fixed hidden directory Pin
rohit.dhamija21-Jan-03 22:17
rohit.dhamija21-Jan-03 22:17 
GeneralMouse shortcuts Pin
Rage21-Jan-03 21:59
professionalRage21-Jan-03 21:59 
GeneralRe: Mouse shortcuts Pin
HENDRIK R21-Jan-03 22:14
HENDRIK R21-Jan-03 22:14 
GeneralRe: Mouse shortcuts Pin
Rage21-Jan-03 22:35
professionalRage21-Jan-03 22:35 
GeneralRe: Mouse shortcuts Pin
HENDRIK R21-Jan-03 22:49
HENDRIK R21-Jan-03 22:49 
GeneralIAS Pin
Alireza_dcg21-Jan-03 21:39
sussAlireza_dcg21-Jan-03 21:39 
QuestionWhat is the function of __FILE__ and __LINE__? Pin
George221-Jan-03 21:22
George221-Jan-03 21:22 

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.