Wrox Programmer Forums
|
Visual C++ Questions specific to Microsoft's Visual C++. For questions not specific to this Microsoft version, use the C++ Programming forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual C++ section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 9th, 2007, 07:40 AM
Authorized User
 
Join Date: Jan 2007
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to arun.sharma.kumar
Default IDC_STATIC_FRAME

how to pass IDC_STATIC_FRAME as parameter to a function in DLL.....
or making it simple i want to access the IDC_STATIC_FRAME in my application from the dll... can any one help me in this...

Arun Kumar.
Size the day put no efforts on the morrow!
__________________
Arun Kumar.
Size the day put no efforts on the morrow!
 
Old May 19th, 2007, 06:41 AM
Registered User
 
Join Date: May 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,
I think u can pass CWnd * or CStatic * as parameter though i have not tried this at my end -- for IDC_STATIC CWnd/CStatic is the class for static control , i suppose if it is not then pass the class pointer and well lets see i think it will work.

Please let me know if that works :)

 
Old June 4th, 2007, 05:30 AM
Authorized User
 
Join Date: Jan 2007
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to arun.sharma.kumar
Default

Passing CWnd* or CRect* to the dll will work...

Arun Kumar.
Size the day put no efforts on the morrow!









Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.