Jump to content

MCornelio

Members
  • Posts

    2
  • Joined

  • Last visited

MCornelio's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. James, Thanks for the welcome and the info. I feel like a 'tard ;-) I still had to account for the height of the menu ribbon ($InitialHeight-48) but it resizes much, much better now :-) I really appreciate the help. I'll try to remember to bracket my code next time. Thanks again. Mike
  2. I have the following small bit of code that I've been using for quite a while. My problem is that the IE control doesn't seem to resize properly (or initially). I've had to introduce the offsets below (-2 and -56) to get a proper display. Then, when I resize the form, the bottom doesn't seem to grow correctly. It's always off by a small bit. What am I doing wrong.? Thanks in advance for any help. ;=== ( C O D E ) === _IEErrorHandlerRegister() Global $oIE = _IECreateEmbedded() Global $InitialWidth = 640 Global $InitialWidth = 480 Global $formMain = GUICreate($gAppName, $InitialWidth, $InitialHeight, _ @DesktopWidth / 2 - $InitialWidth / 2, @DesktopHeight / 2 - $InitialHeight / 2, _ $WS_SIZEBOX + $WS_CLIPCHILDREN + $WS_CLIPSIBLINGS + $WS_MINIMIZEBOX _ + $WS_MAXIMIZEBOX + $WS_SYSMENU, $WS_EX_ACCEPTFILES) Global $GUIActiveX = GUICtrlCreateObj($oIE, 0, 0, $InitialWidth - 2, $InitialHeight - 56) GUICtrlSetResizing($oIE, $GUI_DOCKBORDERS) ; 1= Dock All Sides (same as 102)
×
×
  • Create New...