Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2007 Aug : I need control ID for "OK" button in common print dialog box

www.cryer.info
Managed Newsgroup Archive

I need control ID for "OK" button in common print dialog box

Subject:I need control ID for "OK" button in common print dialog box
Posted by:"mikk" (mikk@nospamplease.go2.pl)
Date:Wed, 29 Aug 2007 11:36:38

Hello,

I need to subclass the common print dialog. I have to get the value of
control ID for "OK" button. I think this is defined in the resource
file, but I don't have commdlg.rc file. My investigation (with
EnumChildWindows and GetCtrlID) tells me that "OK" control ID is 1. Am I
right? Could anyone check this for me please? Or tell me how can I get
commdlg.rc without installing MSVC++ :-) ?

TIA

Kind regards,
mikk

Replies:

www.cryer.info
Managed Newsgroup Archive