Jump to content

$WS_EX_WINDOWEDGE not working for buttons


Recommended Posts

Hi,

I am using $WS_EX_WINDOWEDGE for some tabs, however it doesn't work for buttons. Is there a similar function for buttons? I am using the below code:

$var= GuiCtrlCreateButton ($test, 18, 168, 110, 20, $WS_EX_WINDOWEDGE)

Link to comment
Share on other sites

try

$var= GuiCtrlCreateButton ($test, 18, 168, 110, 20,-1, $WS_EX_CLIENTEDGE )

or

$var= GuiCtrlCreateButton ($test, 18, 168, 110, 20,-1, $WS_EX_STATICEDGE)

Edited by gafrost

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Link to comment
Share on other sites

Test this code....

#include <GUIConstants.au3>

GUICreate("",300,60)
GUICtrlCreateCheckBox("What did you say ? It didn't work...? Hah !",10,10,280,40,$BS_PUSHLIKE)
GUISetState()

Do
Until GUIGetMsg() = $GUI_EVENT_CLOSE
Link to comment
Share on other sites

Works for me... but I have XP's ugly theme disabled...

Edit: Here's the code

#include <GUIConstants.au3>
GUICreate("",300,60)

GUICtrlCreateRadio("Works for me...",10,10,100,40,$BS_PUSHLIKE)
GUICtrlCreateRadio("Works for me...",120,10,100,40,$BS_PUSHLIKE)

GUISetState()
Do
Until GUIGetMsg() = $GUI_EVENT_CLOSE
Edited by CyberSlug
Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
Link to comment
Share on other sites

Compare the first image with this image :D

<{POST_SNAPBACK}>

This is not a standard XP style.

You are adding styles to the gui to achieve this look, or you have adjust the setting of your themes on your OS. :)

My windows have rounded corners. Yours are not. Adjusted styles may affect the outcome, of your gui.

Edited by MHz
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...