Xand3r Posted January 14, 2009 Share Posted January 14, 2009 i don't think you can remove that... p.s. i have found something weird when experimenting with smoke_n's example #include <WindowsConstants.au3> #include <GuiConstants.au3> Global $h_gui = GUICreate("I am a gui",-1,-1,-1,-1,BitOR($WS_OVERLAPPEDWINDOW,$WS_CLIPCHILDREN)) GUISetState() Global $edit1 = GUICtrlCreateEdit("editable" , 0, 150, 100, 125, BitOR($WS_CLIPSIBLINGS,$WS_THICKFRAME,$WS_CHILD,$WS_SYSMENU),$WS_EX_TOOLWINDOW) Global $edit2 = GUICtrlCreateEdit("uneditable", 100, 150, 100, 125, BitOR($WS_CLIPSIBLINGS,$WS_THICKFRAME,$WS_CHILD,$WS_SYSMENU,$WS_CAPTION),$WS_EX_TOOLWINDOW) Global $but1 = GUICtrlCreateButton("Focus" , 0,0,100,30) While 1 Switch GUIGetMsg() Case -3 Exit Case $but1 GUICtrlSetState($edit2,$GUI_FOCUS) EndSwitch Sleep(1) WEnd adding ws_caption to the edit (to add a title) makes the $edit2 permanently inactive... (you can not activate it by clicking it) any thoughts? sry for keeping this thread alive but... i really can't get my head around this.. i searched on google about this and found someone with some similar problems with child windows... but there was no solution Only two things are infinite, the universe and human stupidity, and i'm not sure about the former -Alber EinsteinPractice makes perfect! but nobody's perfect so why practice at all?http://forum.ambrozie.ro Link to comment Share on other sites More sharing options...
martin Posted January 15, 2009 Share Posted January 15, 2009 He's right: #include <WindowsConstants.au3> MsgBox(0, "WS_THICKFRAME check", BitAND($WS_SIZEBOX, $WS_THICKFRAME) = $WS_THICKFRAME)Yes, I know that $WS_SIZEBOX = $WS_THICKFRAME but that isn't what I said (meant) he was wrong about. I said in post 11 that you could remove or add the border by adding or removing $WS_SIZEBOX. In post 12 TheMadman said it wouldn't work. So in post 13 I showed an example of it working. Of course maybe TheMadman is right, because I didn't mean that you could remove the border and still resize the control, but if that is what TheMadman thought I meant then he's right to say that I'm wrong and now I understand his reply. Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
rasim Posted January 16, 2009 Share Posted January 16, 2009 martinIts OK, nevermind Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now