Click here to Skip to main content
15,888,461 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to screenshot as a single color bitmap file? Pin
Ozer Karaagac28-Mar-11 18:19
professionalOzer Karaagac28-Mar-11 18:19 
QuestionHow to create a windowless control after implementing all the necessary interfaces? Pin
followait26-Mar-11 22:04
followait26-Mar-11 22:04 
QuestionLetter drawing Pin
transoft25-Mar-11 6:40
transoft25-Mar-11 6:40 
AnswerRe: Letter drawing Pin
Richard MacCutchan25-Mar-11 7:21
mveRichard MacCutchan25-Mar-11 7:21 
AnswerRe: Letter drawing Pin
Code-o-mat25-Mar-11 10:02
Code-o-mat25-Mar-11 10:02 
AnswerRe: Letter drawing Pin
Niklas L26-Mar-11 8:53
Niklas L26-Mar-11 8:53 
QuestionKey Press Event Pin
rjkg25-Mar-11 2:44
rjkg25-Mar-11 2:44 
AnswerRe: Key Press Event Pin
Joan M26-Mar-11 3:46
professionalJoan M26-Mar-11 3:46 
There are lots of ways to solve this...

You could create events for all your controls.
-- In the resource editor right click each control and select add "event handler".
-- then in your code the event handler will appear and you'll be able to control what you want to do with it.

If you need to do that for a lot of controls and the behavior should be the same extend a control class and pre-program it.

You could also capture the WM_KEYDOWN message.
-- Open the class assistant (CTRL+shift+X).
-- messages tab.
-- add the WM_KEYDOWN handler.

You are done.

Hope this helps.
[www.tamelectromecanica.com] Robots, CNC and PLC machines for grinding and polishing.

Questionproblem when using (detours lib) SetDll.exe to Add a dll to an exe file. Pin
gogosai24-Mar-11 22:13
gogosai24-Mar-11 22:13 
AnswerRe: problem when using (detours lib) SetDll.exe to Add a dll to an exe file. Pin
Nitheesh George24-Mar-11 22:18
Nitheesh George24-Mar-11 22:18 
AnswerRe: problem when using (detours lib) SetDll.exe to Add a dll to an exe file. Pin
Nitheesh George24-Mar-11 22:33
Nitheesh George24-Mar-11 22:33 
GeneralRe: problem when using (detours lib) SetDll.exe to Add a dll to an exe file. Pin
gogosai24-Mar-11 23:10
gogosai24-Mar-11 23:10 
GeneralRe: problem when using (detours lib) SetDll.exe to Add a dll to an exe file. Pin
Albert Holguin25-Mar-11 13:34
professionalAlbert Holguin25-Mar-11 13:34 
GeneralRe: problem when using (detours lib) SetDll.exe to Add a dll to an exe file. Pin
Nitheesh George27-Mar-11 18:27
Nitheesh George27-Mar-11 18:27 
GeneralRe: problem when using (detours lib) SetDll.exe to Add a dll to an exe file. Pin
Albert Holguin28-Mar-11 3:58
professionalAlbert Holguin28-Mar-11 3:58 
QuestionHow can I change background/text color of CComboBox ? Pin
_Flaviu24-Mar-11 8:30
_Flaviu24-Mar-11 8:30 
AnswerRe: How can I change background/text color of CComboBox ? [modified for conversion from Q to A] Pin
Ozer Karaagac24-Mar-11 15:41
professionalOzer Karaagac24-Mar-11 15:41 
GeneralRe: How can I change background/text color of CComboBox ? Pin
Albert Holguin24-Mar-11 15:43
professionalAlbert Holguin24-Mar-11 15:43 
GeneralRe: How can I change background/text color of CComboBox ? Pin
Ozer Karaagac24-Mar-11 15:58
professionalOzer Karaagac24-Mar-11 15:58 
GeneralRe: How can I change background/text color of CComboBox ? Pin
_Flaviu24-Mar-11 23:36
_Flaviu24-Mar-11 23:36 
GeneralRe: How can I change background/text color of CComboBox ? Pin
వేంకటనారాయణ(venkatmakam)24-Mar-11 23:57
వేంకటనారాయణ(venkatmakam)24-Mar-11 23:57 
GeneralRe: How can I change background/text color of CComboBox ? Pin
_Flaviu25-Mar-11 1:53
_Flaviu25-Mar-11 1:53 
GeneralRe: How can I change background/text color of CComboBox ? Pin
Ozer Karaagac25-Mar-11 2:22
professionalOzer Karaagac25-Mar-11 2:22 
GeneralRe: How can I change background/text color of CComboBox ? Pin
_Flaviu25-Mar-11 2:46
_Flaviu25-Mar-11 2:46 
GeneralRe: How can I change background/text color of CComboBox ? Pin
Ozer Karaagac25-Mar-11 3:13
professionalOzer Karaagac25-Mar-11 3:13 

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.