LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,452
Default VB6 form show Minimize button

Using a VB6 form in Excel as in the book Professional Excel Development.
This is the VB6 code that loads the form:

Public Sub ShowVB6Form()

Dim frmHelloWorld As FHelloWorld
Set frmHelloWorld = New FHelloWorld

Load frmHelloWorld
SetWindowLongA frmHelloWorld.hwnd, GWL_HWNDPARENT, mlXLhWnd
frmHelloWorld.Show 0

Set frmHelloWorld = Nothing

End Sub

Despite doing show Minimize button is True in the VB6 form properties, the
minimize button doesn't show.
The form can be minimized though via the title bar right-click menu.
How do I make the minimize button show?


RBS

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Minimize a form Alvin Hansen[_2_] Excel Programming 8 February 6th 05 01:45 PM
Minimize the VB form FuzzyLogic Excel Programming 0 October 29th 03 04:46 PM
Minimize the VB form FuzzyLogic Excel Programming 0 October 29th 03 04:16 PM
Minimize a form Bruce Roberson Excel Programming 2 August 22nd 03 10:13 PM
How to minimize a form using VB Jean Oct Excel Programming 2 July 28th 03 08:00 PM


All times are GMT +1. The time now is 09:44 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"