Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » Splitter » DHCtrl in SplitterForm
DHCtrl in SplitterForm [message #40595] Tue, 20 August 2013 10:59 Go to previous message
iST1 is currently offline  iST1
Messages: 107
Registered: August 2013
Experienced Member
Sorry my English,
i'm created simple example to put some external opened Window in frame of TopWindow with DHCtrl and have a trouble:

GUI_APP_MAIN
{
'this is for emulate of "some external opened Window"
TopWindow child;
Label b;
child.Add(b.SetLabel("Hello!").LeftPosZ(10, 100).TopPosZ(10, 10));

TopWindow main;
SplitterFrame sf;
#if 0
//in top left of main we get "Hello!"
main.AddFrame(sf.Left(child, 100));
#else
//trying to achieve the same as above result with DHCtrl
DHCtrl wrap;
child.Open();

wrap.NcCreate(child.GetHWND());

//probably do not need to do. I'm missing something, when...
child.Hide();

main.AddFrame(sf.Left(wrap, 100));

//...the result is white left frame without "Hello!"
#endif
main.Run();
}

[Updated on: Tue, 20 August 2013 11:27]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: SetParent to SplitterFrame
Next Topic: Splitting a single ctrl (or appearing to)
Goto Forum:
  


Current Time: Fri Mar 29 12:30:50 CET 2024

Total time taken to generate the page: 0.01597 seconds