Jump to content

GUI Control Styles + Extended Styles


Recommended Posts

In the Beta Help files under GUI Control Styles, certain Extended Styles appear to be missing, is this List pending an update?

A couple i know are missing to hand are

$LVS_EX_GRIDLINES

$LVS_EX_REGIONAL

$LVS_EX_CHECKBOXES

Im sure there may be others.

References are made to these styles within certain control help, but not an explanation as to purpose, as can be found on the majority of them under GUI Control Styles.

I Know many are self explanatory , but its nice to have a lookup/reference for those that may not be so obvious.

Regards

HardCopy

ps if i overlooked their location/ Please shoot me down.

Contributions: UDF _DateYearFirstChildren are like Farts, you can just about stand your own.Why am I not a Vegetarian?...Well...my ancestors didn't fight & evolve to the Top of the food chain for me to survive on Salad

Link to comment
Share on other sites

THe intention is to document what is working so documenting the self explanatory is a must.

Can you put a list as complete as possible of what is missing?

I could be good to have example for each style a least the non trivial ones

Thanks for improving the doc :)

Link to comment
Share on other sites

Jpm

Gui Control Style - missing definitions in appendix.

It seems that my earlier assumption maybe correct, probably you guys just not had the time to add them yet.

They all seem to relate to the _GUICtrlListview UDF's.

as follows:

$LVS_EX_GRIDLINES

$LVS_EX_REGIONAL

$LVS_EX_HEADERDRAGDROP

$LVS_EX_TRACKSELECT

$LVS_EX_CHECKBOXES

I think thats all.

HardCopy

:)

Edited by HardCopy

Contributions: UDF _DateYearFirstChildren are like Farts, you can just about stand your own.Why am I not a Vegetarian?...Well...my ancestors didn't fight & evolve to the Top of the food chain for me to survive on Salad

Link to comment
Share on other sites

There are actually some $LVS_EX_Styles that arn't included such as...

$LVS_EX_BORDERSELECT = 0x8000
$LVS_EX_DOUBLEBUFFER = 0x10000
$LVS_EX_FLATSB = 0x100
$LVS_EX_MULTIWORKAREAS = 0x2000
$LVS_EX_SNAPTOGRID = 0x80000
$LVS_EX_SUBITEMIMAGES = 0x2

qq

Link to comment
Share on other sites

There are actually some $LVS_EX_Styles that arn't included such as...

$LVS_EX_BORDERSELECT = 0x8000
$LVS_EX_DOUBLEBUFFER = 0x10000
$LVS_EX_FLATSB = 0x100
$LVS_EX_MULTIWORKAREAS = 0x2000
$LVS_EX_SNAPTOGRID = 0x80000
$LVS_EX_SUBITEMIMAGES = 0x2

<{POST_SNAPBACK}>

Thanks Burrup

anyone else got any more?

HardCopy

Contributions: UDF _DateYearFirstChildren are like Farts, you can just about stand your own.Why am I not a Vegetarian?...Well...my ancestors didn't fight & evolve to the Top of the food chain for me to survive on Salad

Link to comment
Share on other sites

Can all these extended styles be used?

I don't want to document those which cannot be used with the GUI functions.

For me if you need DllCall that' s outside the scope of the AutoIt documentation.

May be somebody will write some scripts that are demonstrating the effect of all this missing styles.

I am waiting them before inclusion. :)

Specialist can always go to MSDN doc for special styles.

Link to comment
Share on other sites

Can all these extended styles be used?

I don't  want to document those which cannot be used with the GUI functions.

For me if you need DllCall that' s outside the scope of the AutoIt documentation.

May be somebody will write some scripts that are  demonstrating the effect of all this missing styles.

I am waiting them before inclusion. :evil:

Specialist can always go to MSDN doc for special styles.

<{POST_SNAPBACK}>

Forgive me Jpm,

but from what you say above, are you saying that these stlyes

aren't proprietory to Autoit???

If thats the case then im wasting your time.

Does this mean stlyes are Microsoft creation?

If the latter, then i've learned something as i did not realise this. :">

The examples i gave as missing, are USED in the code snippet examples

in the beta help (_GuiListView UDF's made by qafrost) , so i guess they

do work with the controls. But the definitions are not shown

in the appendix (Hence my initial post).

Its when i see these example snips of code, i like to try and fully

understand what each parameter does, some styles-names give a good

idea what they do but others may not.

I hope this clarifies my initial post & i apologise if i've wasted your time.

Regards

HardCopy :)

Contributions: UDF _DateYearFirstChildren are like Farts, you can just about stand your own.Why am I not a Vegetarian?...Well...my ancestors didn't fight & evolve to the Top of the food chain for me to survive on Salad

Link to comment
Share on other sites

@Hardcopy

You don't waste my time.

I try to explain you that the GUI functions are designed to use some Microsoft Styles not all. So if there are useless with AutoIt GUI functions it is normal not to describe them in AutoIt doc.

The point that's you can use more with the help of DllCall is out of scope of AutoIt doc. Just because all Microsoft will have to be included in AutoIt doc.

I hope that's clarify my point. :">

Link to comment
Share on other sites

@Hardcopy

You don't waste my time.

I try to explain you that the GUI functions are designed to use some Microsoft Styles not all. So if there are useless with AutoIt GUI functions it is normal not to describe them in AutoIt doc.

The point that's you can use more with the help of DllCall is out of scope of AutoIt doc. Just because all Microsoft will have to be included in AutoIt doc.

I hope that's clarify my point. :">

<{POST_SNAPBACK}>

Yes jpm i understand what you saying now.

Thanks for your responses.

Regards

HardCopy

Contributions: UDF _DateYearFirstChildren are like Farts, you can just about stand your own.Why am I not a Vegetarian?...Well...my ancestors didn't fight & evolve to the Top of the food chain for me to survive on Salad

Link to comment
Share on other sites

These extended styles are declared in the GuiListView, and these are the ones that work the last time I check, didn't add any extended styles I couldn't get to work

Global Const $LVS_EX_CHECKBOXES = 0x4
Global Const $LVS_EX_GRIDLINES = 0x1
Global Const $LVS_EX_HEADERDRAGDROP = 0x10
Global Const $LVS_EX_HIDELABELS = 0x20000
Global Const $LVS_EX_INFOTIP = 0x400
Global Const $LVS_EX_LABELTIP = 0x4000
Global Const $LVS_EX_ONECLICKACTIVATE = 0x40
Global Const $LVS_EX_REGIONAL = 0x200
Global Const $LVS_EX_SINGLEROW = 0x40000
Global Const $LVS_EX_TWOCLICKACTIVATE = 0x80
Global Const $LVS_EX_TRACKSELECT = 0x8
Global Const $LVS_EX_UNDERLINEHOT = 0x800
Global Const $LVS_EX_UNDERLINECOLD = 0x1000

These extended styles are for Tab Control

Global Const $TCS_EX_FLATSEPARATORS = 0x1
Global Const $TCS_EX_REGISTERDROP = 0x2

I see the GuiConstants was changed, now there is error for constants already declared if include GuiListView, argggggg.

Gary

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

Need to comment out the following from GuiListView

;~ Global Const $LVS_EX_CHECKBOXES = 0x4
;~ Global Const $LVS_EX_GRIDLINES = 0x1
;~ Global Const $LVS_EX_HEADERDRAGDROP = 0x10
;~ Global Const $LVS_EX_TRACKSELECT = 0x8

Gary

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

These extended styles are declared in the GuiListView, and these are the ones that work the last time I check, didn't add any extended styles I couldn't get to work

Global Const $LVS_EX_CHECKBOXES = 0x4
Global Const $LVS_EX_GRIDLINES = 0x1
Global Const $LVS_EX_HEADERDRAGDROP = 0x10
Global Const $LVS_EX_HIDELABELS = 0x20000
Global Const $LVS_EX_INFOTIP = 0x400
Global Const $LVS_EX_LABELTIP = 0x4000
Global Const $LVS_EX_ONECLICKACTIVATE = 0x40
Global Const $LVS_EX_REGIONAL = 0x200
Global Const $LVS_EX_SINGLEROW = 0x40000
Global Const $LVS_EX_TWOCLICKACTIVATE = 0x80
Global Const $LVS_EX_TRACKSELECT = 0x8
Global Const $LVS_EX_UNDERLINEHOT = 0x800
Global Const $LVS_EX_UNDERLINECOLD = 0x1000

These extended styles are for Tab Control

Global Const $TCS_EX_FLATSEPARATORS = 0x1
Global Const $TCS_EX_REGISTERDROP = 0x2

I see the GuiConstants was changed, now there is error for constants already declared if include GuiListView, argggggg.

Gary

<{POST_SNAPBACK}>

I don't think $TCS_EX_REGISTERDROP can work under AutoIT

Can you verify?

Thanks

Edited by jpm
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...