Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Preview (Read 3081 times)
andrewsando1973
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 56
Joined: Feb 14th, 2010
Preview
Nov 22nd, 2010 at 11:53am
Print Post  
Hi Stoyo,

Is there anyway i can load the preview form as a child form in MDI application?
as my application's toolbar is a ribbon bar. so i want to get the preview form in a way which looks like my app.

Thanks,
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Preview
Reply #1 - Nov 22nd, 2010 at 1:11pm
Print Post  
Hi Andrew,

You might try using the SetParent Win32 API function to make the preview window a child of the MDI form. I suppose it would be necessary to also call SetWindowLong to add the WS_CHILD flag to the preview window. You can get its HWND from the object returned by OpenPreviewWindow.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
andrewsando1973
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 56
Joined: Feb 14th, 2010
Re: Preview
Reply #2 - Nov 22nd, 2010 at 11:45pm
Print Post  
Thanks stoyo, i will try it
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint