Click here to Skip to main content
15,896,269 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to resize control when screen resolution changed? Pin
hanlei00000000093-Jul-08 5:50
hanlei00000000093-Jul-08 5:50 
AnswerRe: How to resize control when screen resolution changed? Pin
leonigah3-Jul-08 19:06
leonigah3-Jul-08 19:06 
QuestionRegarding propertysheets Pin
Member 46556853-Jul-08 4:57
Member 46556853-Jul-08 4:57 
AnswerRe: Regarding propertysheets Pin
User 24844373-Jul-08 6:11
User 24844373-Jul-08 6:11 
QuestionMschart in VC++ Pin
AnithaSubramani3-Jul-08 3:11
AnithaSubramani3-Jul-08 3:11 
AnswerRe: Mschart in VC++ Pin
KarstenK3-Jul-08 3:16
mveKarstenK3-Jul-08 3:16 
GeneralRe: Mschart in VC++ Pin
AnithaSubramani3-Jul-08 20:06
AnithaSubramani3-Jul-08 20:06 
QuestionHow to get object or handle of control in its event handler function without using its ID ? Pin
chetan_mp20073-Jul-08 2:53
chetan_mp20073-Jul-08 2:53 
How to get object or handle of control in its event handler function without using its ID ?

I have created a button "OK" and its handler onOK(), I want to know how i wll get its handle or object inside onOK() function. I dont want to use its ID like getdlgItem(ID_OK)..

onOK()
{
CButton *obj = ? ;
}

If any body have solution please reply
Confused | :confused:

Chetan m.p.
chetan.official@gmail.com

AnswerRe: How to get object or handle of control in its event handler function without using its ID ? Pin
Roger Stoltz3-Jul-08 2:55
Roger Stoltz3-Jul-08 2:55 
QuestionRe: How to get object or handle of control in its event handler function without using its ID ? Pin
chetan_mp20073-Jul-08 7:02
chetan_mp20073-Jul-08 7:02 
AnswerRe: How to get object or handle of control in its event handler function without using its ID ? Pin
Roger Stoltz3-Jul-08 7:55
Roger Stoltz3-Jul-08 7:55 
AnswerRe: How to get object or handle of control in its event handler function without using its ID ? Pin
KarstenK3-Jul-08 3:05
mveKarstenK3-Jul-08 3:05 
Questioncom dll problem Pin
rjkg3-Jul-08 2:16
rjkg3-Jul-08 2:16 
AnswerRe: com dll problem Pin
Nibu babu thomas3-Jul-08 2:28
Nibu babu thomas3-Jul-08 2:28 
GeneralRe: com dll problem Pin
rjkg3-Jul-08 2:38
rjkg3-Jul-08 2:38 
AnswerRe: com dll problem Pin
Roger Stoltz3-Jul-08 2:39
Roger Stoltz3-Jul-08 2:39 
GeneralRe: com dll problem Pin
KarstenK3-Jul-08 3:10
mveKarstenK3-Jul-08 3:10 
AnswerRe: com dll problem Pin
KarstenK3-Jul-08 3:09
mveKarstenK3-Jul-08 3:09 
QuestionAvoiding global in Callbacks Pin
flip3-Jul-08 2:01
flip3-Jul-08 2:01 
QuestionConvert Visual Studio 2005 ATL project into Visual C++ 6.0 project Pin
dolly3-Jul-08 1:52
dolly3-Jul-08 1:52 
AnswerRe: Convert Visual Studio 2005 ATL project into Visual C++ 6.0 project Pin
Gary R. Wheeler3-Jul-08 1:55
Gary R. Wheeler3-Jul-08 1:55 
QuestionWrapping a C++ LIB into a DLL Pin
indogerman3-Jul-08 1:50
indogerman3-Jul-08 1:50 
AnswerRe: Wrapping a C++ LIB into a DLL Pin
Gary R. Wheeler3-Jul-08 1:58
Gary R. Wheeler3-Jul-08 1:58 
AnswerRe: Wrapping a C++ LIB into a DLL Pin
KarstenK3-Jul-08 3:14
mveKarstenK3-Jul-08 3:14 
QuestionBorderLess AboutBox. Pin
Le@rner3-Jul-08 1:36
Le@rner3-Jul-08 1:36 

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.