Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding the Common dialog and UpDown Control

Status
Not open for further replies.

kshea

Technical User
May 31, 2002
60
CA
Hi All:

I have a VC++ 6.0 project not created by wizard. I cannot add MS Common dialog activeX control to my project since ClassWizard does not support the project. I need to add both Common dialog and UpDown control to the interface. Does anyone have an idea or suggestion on how to do this?

Thank you in advance,

Kate
 
Hi Kate,

Normally in this instance you'd simply create yourself an instance of the appropriate CD that you wanted e.g. CFileDialog, CPrintDialog etc. The same applies here to the UpDown control CSpinButtonCtrl.

CSpinButtonCtrl* cSpin = new CSpinButtonCtrl ;
cSpin->Create(...) ;

The MSDN will give you the information you need.

HTH
--
William
Software Engineer
ICQ No. 56047340
 
Thank you for your reply, William. That helps a lot.

Kate
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top