Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - afxCurrentResourceHandle == NULL
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

afxCurrentResourceHandle == NULL

 Post Reply Post Reply
Author
Message
potato2013 View Drop Down
Newbie
Newbie


Joined: 08 December 2013
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote potato2013 Quote  Post ReplyReply Direct Link To This Post Topic: afxCurrentResourceHandle == NULL
    Posted: 08 December 2013 at 2:59am
Hi, I get this problem when the statme is

CXTPResizePropertySheet dlg(AFX_IDS_APP_TITLE, 0, 0, xtpResizeNoVertical);

how to do it?
Back to Top
kstowell View Drop Down
Admin Group
Admin Group


Joined: 25 January 2003
Location: MIchigan, USA
Status: Offline
Points: 496
Post Options Post Options   Thanks (0) Thanks(0)   Quote kstowell Quote  Post ReplyReply Direct Link To This Post Posted: 10 December 2013 at 1:05am
Hi, you need to derive a class from CXTPResizePropertySheet and add your pages in the constructor for that class, then you can show your dialog like so:

CYourDialog dlg; 
dlg.DoModal();

Take a look at the EditListBox sample application for a complete example.

Cheers!
Kirk Stowell, President and CEO
CODEJOCK SOFTWARE SOLUTIONS<
Back to Top
potato2013 View Drop Down
Newbie
Newbie


Joined: 08 December 2013
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote potato2013 Quote  Post ReplyReply Direct Link To This Post Posted: 11 December 2013 at 12:15am
I did it,  thanks.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.