PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Petrus Vorster on September 19, 2013, 02:02:30 PM

Title: Any OCX to form
Post by: Petrus Vorster on September 19, 2013, 02:02:30 PM
1) OCX to form in one step like in vb6.
2) Images and background color settings for menu bar.
3) Toolbar binder tool to place anywhere on a from.
4) Control grouping tool.

(for us dummies who cant figure it out by ourselves :) )
Title: Re: Any OCX to form
Post by: Paul Squires on September 19, 2013, 03:28:13 PM
1) That would be cool but until PB comes out with better support for ActiveX/OCX containers then we are lucky that we even have Jose's container code to use.  :)
2) This would entail a custom control. Basically, one would have write a control that emulates the appearance of a menu bar. Not a trivial task.
3) Not sure what you mean by "Toolbar binder tool". Are you thinking about the Office Ribbon control?
4) I have toyed with the idea of making Frame controls act like they do in VB. Basically, any control that is within the Frame would move in tandem to movements of the Frame. That is the way that VB works but it is not how it works in pure WinAPI.
Title: Re: Any OCX to form
Post by: Petrus Vorster on September 19, 2013, 04:06:33 PM
The binder is about the same thing as a grouping tool.
I saw it in .NET2012. (now that is if i understood it right  :o   )
(cant use it due to State Rules on .NEt downloads.)

One drops a binder in a grouping tool and drop the toolbar in there.(or more than one)
It then sticks to the specific spot in the group while the grouping tool takes care of the re sizing and fixed locations.
Since the grouping tool can get borders and backgrounds you can come pretty close to drawing a Ribbon style control.

I like these nice looking controls....