Creating a VB SDI Like Interface in VB Programs 
Author Message
 Creating a VB SDI Like Interface in VB Programs

hi all

I am developing a project that requires some very specialize forms
management. For specific reasons i have chosen the project UI to be like the
VB IDE (SDI Option) -  the one that can be set from the advanced tab in
Tools|Options on the Vb IDE. (I am sure some people like me still use it, it
is fabulous....)

I have been able to create the Main form just like the VB Main form with
menus and toolbars and then have other custom normal modeless forms like the
form designer and code window of VB.

An interesting thing to note about the VB SDI IDE  is that on the windows
taskbar only one button is there for the entire VB project although there
are more windows in VB. I have achieved this same kind of functionality by
setting "ShowInTaskBar" property to "True" only for the main form but not
for the other forms in my project.

However one effect that i have not been able to produce is that in VB SDI
IDE even when a form other than the main form has the focus, let us say a
code window, the VB application button on the Windows Taskbar still remain
pressed. THIS IS ONE THING WHICH IS NOT ACHIEVED BY NORMAL VB CODING.

I try using the api and with the help of spy++ figured out that the forms
other than the main form in VB IDE are set to WS_POPUP style and they have
their parent and owner attribute set to the VB main form.

I try doing the same thing by setting all my forms (NOT the main) to be set
to style WS_POPUP and make the main form their parent and owner.
HOWEVER I AM STILL NOT ABLE TO PRODUCE THE EXPECTED......

CAN SOMEBODY PLEASE HELP............................ASAP

THANKS

adhingra

P.S Any sample code is highly welcomed!



Mon, 17 Jun 2002 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Creating a VB SDI Like Interface in VB Programs

2. VB - Programming / Interface under WinNT

3. X Windows interface for VB program

4. VB Interface For Borland C++ Programs

5. Programming the Netscape DDE interface in VB

6. Interface programming in VB and scripting clients.

7. HOWTO: Telnet type interface for VB program.....

8. vb program as the windows interface

9. I want to be able to write a VB program to interface to my scanner

10. Creating a wrapper/dll for my C++ code to interface with VB

11. Why does VB crash when I rty to create a object to a COM interface

12. How to change the environment to SDI in VB.NET

 

 
Powered by phpBB® Forum Software