nullschritt Posted March 16, 2015 Share Posted March 16, 2015 I've searched but I can't seem to find an answer to this question, is it possible to make a text input control with no border? And if so, how? Thanks in advance, sorry if this is a basic question, I really did search the help file and forums. Link to comment Share on other sites More sharing options...
lorenkinzel Posted March 16, 2015 Share Posted March 16, 2015 , -1, $WS_EX_TRANSPARENT) Link to comment Share on other sites More sharing options...
nullschritt Posted March 16, 2015 Author Share Posted March 16, 2015 , -1, $WS_EX_TRANSPARENT) Sorry but I don't know what function you're using? Link to comment Share on other sites More sharing options...
lorenkinzel Posted March 16, 2015 Share Posted March 16, 2015 example: $Input1 = GUICtrlCreateInput("Input1", 56, 64, 393, 21, -1, $WS_EX_TRANSPARENT) The input has no border if you use "$WS_EX_TRANSPARENT" as extended property. Link to comment Share on other sites More sharing options...
nullschritt Posted March 16, 2015 Author Share Posted March 16, 2015 Okay, thanks a bunch. Link to comment Share on other sites More sharing options...
nullschritt Posted March 16, 2015 Author Share Posted March 16, 2015 No go, still seeing a border. Link to comment Share on other sites More sharing options...
lorenkinzel Posted March 16, 2015 Share Posted March 16, 2015 Quite welcome. When the helpfile doesn't work (for me) I would, in this case, google "autoit input no border". Nailed it on the first hit. I have yet to master the search function on the forum. Link to comment Share on other sites More sharing options...
lorenkinzel Posted March 16, 2015 Share Posted March 16, 2015 That does not appear to be a simple input. But we all know; no code, no can figure it out. With a simple input, $WS_EX_TRANSPARENT gives you no border. Your input appears to be placed in another control. Yes-no? Link to comment Share on other sites More sharing options...
nullschritt Posted March 16, 2015 Author Share Posted March 16, 2015 No, it's in a child window on top of a gif. The control doesnt appear to have a border over most normal controls, but it has a border when overlaid on an image. Link to comment Share on other sites More sharing options...
lorenkinzel Posted March 16, 2015 Share Posted March 16, 2015 Well, I tried, I failed. Within 3.3.9.22: #include <GUIConstantSex.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> $Form1 = GUICreate("Form1", 623, 442, 192, 124) $Pic1 = GUICtrlCreatePic("C:\Documents and Settings\All Users\Documents\My Pictures\Sample Pictures\Water lilies.jpg", 48, 56, 481, 217) $Input1 = GUICtrlCreateInput("Input1", 96, 112, 209, 21, -1, $WS_EX_TRANSPARENT) GUICtrlSetBkColor(-1, 0x000000) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd Gives me an Input with no border. Sorry to be of so little help. Link to comment Share on other sites More sharing options...
nullschritt Posted March 16, 2015 Author Share Posted March 16, 2015 It must be the border of the child windows im seeing even though it to see set to transparent... Link to comment Share on other sites More sharing options...
nullschritt Posted March 16, 2015 Author Share Posted March 16, 2015 Yep, when it was just the border of the child window, now that I'm not using child windows there is no border, cheers mate. 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