Jump to content
Sign in to follow this  
Simucal

Font Dialog: Colors In Listbox? Window Title Without Icon?

Recommended Posts

Simucal

I'm almost done with my first draft of the Font Selection Dialog I'm writing to be used in my FontUDF. It behaves and looks identicle to the standard font dialog with the exception of two things.

First, I assume that it is probably not possible to have a listbox like this in AutoIT?:

Posted Image

It would be nice to have the colors inside the listbox like how the normal dialog does it, but if not.. I can live with it. I have even considered drawing the colored boxes on there with some polygon DLL calls, and watching combodroppedstate to draw the rest, etc.

Secondly,

How do you create a Gui window without a minimize/maximize bar AND without the title menu/title icon?

I presently use:

$FontDialog = GUICreate("Font", 429, 317, 319, 351,BitOr($WS_SYSMENU,$WS_CAPTION))

If I take out $WD_SYSMENU I wont have the titlemenu icon in the top lefthand corner, but no [X] either.

Thanks for your time.


AutoIt Scripts:Aimbot: Proof of Concept - PixelSearching Aimbot with several search/autoshoot/lock-on techniques.Sliding Toolbar - Add a nice Sliding Toolbar to your next script. Click the link to see an animation of it in action!FontInfo UDF - Get list of system fonts, or search to see if a particular font is installed.Get Extended Property UDF - Retrieve a files extended properties (e.g., video/image dimensions, file version, bitrate of song/video, etc)

Share this post


Link to post
Share on other sites
Simucal

Son of a bitch, how did I not see those?

Lol, I have the whole thing almost done... It mimicks the font dialog exactly! GRRRR

EDIT: It is the first thing that comes up from a search in the help file for "font". I'm an idiot.

EDIT2: Im so far along.. I think I'll just finish it anyway.. maybe someone can use it as an example for some of the techniques in it.

Edited by Simucal

AutoIt Scripts:Aimbot: Proof of Concept - PixelSearching Aimbot with several search/autoshoot/lock-on techniques.Sliding Toolbar - Add a nice Sliding Toolbar to your next script. Click the link to see an animation of it in action!FontInfo UDF - Get list of system fonts, or search to see if a particular font is installed.Get Extended Property UDF - Retrieve a files extended properties (e.g., video/image dimensions, file version, bitrate of song/video, etc)

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.