#16246 - 2002-06-11 02:19 PM
Re: Disable close and min on KixFrm
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Lonkero,
I agree that it may not be completely what is needed. However, it may provide insight in how to do this in Kixforms..
L8r,
Kent
|
|
Top
|
|
|
|
#16249 - 2002-06-12 03:16 PM
Re: Disable close and min on KixFrm
|
Alex.H
Seasoned Scripter
Registered: 2001-04-10
Posts: 406
Loc: France
|
Shawn, Well, it's possible to have only the close button without the sysmenu : WS_EX_TOOLWINDOW = &H80 The bad part is that the caption bar get a little more thinner, but it's the only way to remove it on a basic window Also, if you want to remove all 3 button and the sysmenu, remove the WS_SYSMENU style (i was almost sure you knew about this one, but now i am )
For having only the min or max button without the other, i never manage to get it working correctly, plus the fact that some dll versions don't really like this state and ran into a bsod just to let you know about it
After the progressbar, you only need the explorer copy/move/delete, and the common dialog open/save and no more need of kixgui
_________________________
? getobject(Kixtart.org.Signature)
|
|
Top
|
|
|
|
#16252 - 2002-06-12 05:47 PM
Re: Disable close and min on KixFrm
|
Shawn
Administrator
   
Registered: 1999-08-13
Posts: 8611
|
yip, think it got truncated. I've had numerous headaches posting kixpop examples ... ever since this BBS was HTML enabled
Just for the uninitiated - kixpop.exe is a non-COM commandline utility that can "present" and "interact" (somewhat) with user written HTML files. Under the covers, it's basically a container program for the Internet Explorer WebBrowser2 object - which is basically what IEXPLORE.EXE really is, just without all the fancy menus and toolbars (one of the reasons why iexplore.exe is so small - under 100K)
From a coding standpoint, Kixpop leverages the same "technology" that those browser-based POPUP windows use - the Internet Explorer Dialog Object. Input strings can be "passed" to the dialog object via the commandline, along with other things like "ambience" settings (width,height,windows adornments). Using HTML scripting, one "parses-out" the passed parameters and can show them to the user using DHTML.
Kixpop then waits for the dialog to be closed. That can happen when the user clicks a user-defined button, or, if the user closes the dialog box using the X button. Using HTML scripting, the returned data is then "packaged" and "sent" back to Kixpop - which in turn, "pipes" it out to the DOS console. This can be redirected into a file for later parsing by the Kixtart script.
Rocco, if you might, can you email me your script and HTML ? WOuld love to have a lookie.
|
|
Top
|
|
|
|
#16258 - 2002-07-23 11:42 AM
Re: Disable close and min on KixFrm
|
Shawn
Administrator
   
Registered: 1999-08-13
Posts: 8611
|
Duncan,
Just uploaded a new version of Kixforms with the SYSMENU property :
$Form.SysMenu = 0
Kixforms Build 23
-Shawn
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 1662 anonymous users online.
|
|
|