The following button opens a window with an AIM chat control. It works. The problem is that the chat control is small and the window is quite large. I'd like to reduce the size of the window to frame the chat control. Any thoughts ?
DEFINE BUTTON OF oReBar RESOURCE "CHAT" ACTION ShellExecute(NIL, "open", "http://www.masterlinksoftware.com/techchat.htm") TOOLTIP "Chat With Technician"
Thanks ... and Merry Christmas or Happy Holidays
Shell Execute a Window
Shell Execute a Window
Tim Stone
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Tim,
Here are a bunch of manifest constants that control the window size. You might try some of them.
James
#define SW_HIDE 0
#define SW_SHOWNORMAL 1
#define SW_NORMAL 1
#define SW_SHOWMINIMIZED 2
#define SW_SHOWMAXIMIZED 3
#define SW_MAXIMIZE 3
#define SW_SHOWNOACTIVATE 4
#define SW_SHOW 5
#define SW_MINIMIZE 6
#define SW_SHOWMINNOACTIVE 7
#define SW_SHOWNA 8
#define SW_RESTORE 9
FUNCTION MAIN()
SHELLEXECUTE( 0, "open", "http://www.mysite.com", 0, 0, SW_NORMAL )
RETURN NIL
Here are a bunch of manifest constants that control the window size. You might try some of them.
James
#define SW_HIDE 0
#define SW_SHOWNORMAL 1
#define SW_NORMAL 1
#define SW_SHOWMINIMIZED 2
#define SW_SHOWMAXIMIZED 3
#define SW_MAXIMIZE 3
#define SW_SHOWNOACTIVATE 4
#define SW_SHOW 5
#define SW_MINIMIZE 6
#define SW_SHOWMINNOACTIVE 7
#define SW_SHOWNA 8
#define SW_RESTORE 9
FUNCTION MAIN()
SHELLEXECUTE( 0, "open", "http://www.mysite.com", 0, 0, SW_NORMAL )
RETURN NIL
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Tim,
Some possible solutions:
http://www.codeguru.com/forum/archive/i ... 99451.html
http://www.festra.com/wwwboard/messages/12711.html
Some possible solutions:
http://www.codeguru.com/forum/archive/i ... 99451.html
http://www.festra.com/wwwboard/messages/12711.html