![]() |
Getting Started - noob |
Post Reply ![]() |
Author | |
troposphere ![]() Newbie ![]() ![]() Joined: 14 January 2018 Status: Offline Points: 6 |
![]() ![]() ![]() ![]() ![]() Posted: 14 January 2018 at 3:53pm |
Working with Toolkit Pro for MFC. My order is number 101325.
With regular MFC, I'm used to putting controls onto a dialog box, and then adding a variable of the type that wraps the control from the MFC library. How does this change when I'm using the Toolkit Pro? Since the Toolkit Pro controls do not show up in the Visual Studio toolbox, how would I add a control from the CodeJock library to my dialog? Must I create and configure the CodeJock controls all in code? Do they not work with the dialog designer? I'm confused. Please explain how to get started using the Toolkit Pro library. Thanks, Rich |
|
![]() |
|
markr ![]() Senior Member ![]() Joined: 01 August 2004 Status: Offline Points: 443 |
![]() ![]() ![]() ![]() ![]() |
The best way to get started using XTP is by working through the samples that are most similar to your particular application structure.
|
|
![]() |
|
troposphere ![]() Newbie ![]() ![]() Joined: 14 January 2018 Status: Offline Points: 6 |
![]() ![]() ![]() ![]() ![]() |
Thank you for you response.
However I was hoping I could get answers to my most important questions: Since the Toolkit Pro controls do not show up in the Visual Studio toolbox, how would I add a control from the CodeJock library to my dialog? Must I create and configure the CodeJock controls all in code? Do they not work with the dialog designer? |
|
![]() |
|
cluster ![]() Groupie ![]() Joined: 22 January 2015 Status: Offline Points: 91 |
![]() ![]() ![]() ![]() ![]() |
here the keywords are
subclassing https://msdn.microsoft.com/en-us/library/windows/desktop/bb773183(v=vs.85).aspx DDX_ mechanism https://stackoverflow.com/questions/2250970/whats-the-correct-way-to-create-a-subclass-of-a-mfc-control For example, if you create a button with the dialog designer and you add a member control variable CButton m_myButton (which is subclassing with the DDX_ mechanism) than you just change CButton to CXTPButton |
|
Windows 7
Visual Studio 2013 CodeJock 18.6 |
|
![]() |
|
troposphere ![]() Newbie ![]() ![]() Joined: 14 January 2018 Status: Offline Points: 6 |
![]() ![]() ![]() ![]() ![]() |
Thank you, that's good information. I will study those links.
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |