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 » SetParent to SplitterFrame
SetParent to SplitterFrame [message #40591] Tue, 20 August 2013 07:58 Go to next message
iST1 is currently offline  iST1
Messages: 107
Registered: August 2013
Experienced Member
I have a vertical splitter in SplitterFrame in TopWindow, where
in left is TopWindow:
SplitterFrame sf;
TopWindow ole;
...
AddFrame(sf.Left(ole, 200));
AddFrame(InsetFrame());

I'm trying to load opened Excel application in ole:
::SetParent(excelHWND, ole.GetHWND());
but ole.GetHWND() is NULL.

Loading Excel without splitter is ok:
::SetParent(excelHWND, GetHWND());
Re: SetParent to SplitterFrame [message #40593 is a reply to message #40591] Tue, 20 August 2013 08:02 Go to previous messageGo to next message
iST1 is currently offline  iST1
Messages: 107
Registered: August 2013
Experienced Member
Yes, by the way, before SetParent always call Open() of main TopWindow.

[Updated on: Tue, 20 August 2013 08:02]

Report message to a moderator

Re: SetParent to SplitterFrame [message #40594 is a reply to message #40591] Tue, 20 August 2013 10:01 Go to previous message
iST1 is currently offline  iST1
Messages: 107
Registered: August 2013
Experienced Member
Maybe the reason is DHCtrl usage instead TopWindow for ole object, but still does not work
Previous Topic: Uninitialised value in SplitterFrame
Next Topic: DHCtrl in SplitterForm
Goto Forum:
  


Current Time: Wed May 12 07:26:54 CEST 2021

Total time taken to generate the page: 0.00985 seconds