Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - Display Problem adding forms with hwnd
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Display Problem adding forms with hwnd

 Post Reply Post Reply
Author
Message
bruce8250 View Drop Down
Newbie
Newbie


Joined: 19 July 2005
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote bruce8250 Quote  Post ReplyReply Direct Link To This Post Topic: Display Problem adding forms with hwnd
    Posted: 19 July 2005 at 6:22am

Hi,

VB6: I'm using the DockingPane to create an Outlook type app. Depending on the Shortcut selected I insert a new form into a Pane.

frmMainFrame.DockingPaneManager(PANE_1).Handle = frmMainIssues.hWnd

or

frmMainFrame.DockingPaneManager(PANE_1).Handle = frmMainTasks.hWnd

Problem is that the app flicks to previosly added forms before the new form is displayed. How can I stop the flick??? Delete all loaded forms in Pane - but I can't find the methods to do this.

Many thanks

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 19 July 2005 at 8:06am

Hide thiw window using API:

Private Declare Function ShowWindow Lib "user32" Alias "ShowWindow" _

(ByVal hwnd As Long, ByVal nCmdShow As Long) As Long

 

ShowWindow frmMainIssues.hWnd, 0 ' Hide Window

 

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.