Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


2 Pages<12
Options
Go to last post Go to first unread
Offline Andrey Ivashov  
#21 Posted : 18 March 2012 18:24:48(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,616
Man
Russian Federation

Was thanked: 1978 time(s) in 666 post(s)
Hello.

TheWizEd wrote:
When I create a new region Parent is Nothing.

Did you try it with SMath Studio 0.93?

Regards.
Offline TheWizEd  
#22 Posted : 24 March 2012 18:28:05(UTC)
TheWizEd


Rank: Advanced Member

Groups: Registered
Joined: 04/07/2010(UTC)
Posts: 178
Man
United States

Was thanked: 19 time(s) in 13 post(s)
Andrey,

Sorry its taken me so long to get back to you. Been busy with other things.

The Parent was not set immediately after the constructor but I trapped it in OnPaint and its set to a value.

Thanks.
Ed
Offline Davide Carpi  
#23 Posted : 04 June 2012 12:55:01(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,639
Man
Italy
Location: Italy

Was thanked: 1323 time(s) in 873 post(s)
Originally Posted by: TheWizEd Go to Quoted Post
Andrey,

I've finished the controls and posted to the SVN. Have a look and let me know if there are any problems. I'm not a professional programmer so go easy on my coding. As you noted the controls had to reside in a dll with the same name so I couldn't figure how to sub class so I just used switches to manage the controls.



One thing I noted is that the user could cut and paste a control with no way for my program to capture that and rename the control to a unique name, which is needed by the program. Maybe next release.


Hi,

this work will be implemented in a future relase of smath?


regards,

w3b5urf3r

Edited by user 09 January 2013 20:15:19(UTC)  | Reason: Not specified

If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
thanks 1 user thanked Davide Carpi for this useful post.
on 17/09/2015(UTC)
Offline 9_82abZ2  
#24 Posted : 16 September 2015 22:37:21(UTC)
9_82abZ2

Rank: Newbie

Groups: Registered
Joined: 14/09/2015(UTC)
Posts: 7

TheWizEd,

I am looking at creating the same controls you indicated in this thread.

I am under the impression that you use Visual Basic to generate the controls? Yes? If so, could you walk me through the process you use to generate a button?

I downloaded an analyzed the code for a simple checkbox region and, despite not touching C++ in a while, I was able to modify the given code in C# to some degree (change color, change 'shape' of control). However, I would prefer not to reverse engineer if I don't need to.

Can you (or someone) create a 'control' development tutorial for Visual Studio?
Users browsing this topic
2 Pages<12
Forum Jump  
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.