Shell Execute a Window

Shell Execute a Window

Postby TimStone » Thu Dec 20, 2007 9:25 pm

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
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Postby James Bott » Fri Dec 21, 2007 9:07 am

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
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby Antonio Linares » Fri Dec 21, 2007 9:12 am

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 70 guests

cron