Search found 142 matches

by m3user
Today, 09:26
Forum: Scripts and Functions
Topic: [Class] CustomFont - Load font from file or resource, without needed install to system.
Replies: 24
Views: 5698

Re: [Class] CustomFont - Load font from file or resource, without needed install to system.

It works, thanks! But not sure Class_CustomFont is a problem. First part of this works in Win7: SetWorkingDir %A_ScriptDir% #Include <Gdip_All> #Include <Subtitle> ; https://www.autohotkey.com/boards/viewtopic.php?f=6&t=36384 #Include <Class_CustomFont> font1 := New CustomFont("SegMDL2.ttf") gui, fo...
by m3user
18 Oct 2019, 08:12
Forum: Scripts and Functions
Topic: [Class] CustomFont - Load font from file or resource, without needed install to system.
Replies: 24
Views: 5698

Re: [Class] CustomFont - Load font from file or resource, without needed install to system.

Thanks, very kind. I tried on Win10 and it works great. :D
It still doesn't work on my Win7 machine, I'll check what might be the issue.
by m3user
18 Oct 2019, 04:36
Forum: Scripts and Functions
Topic: [Class] CustomFont - Load font from file or resource, without needed install to system.
Replies: 24
Views: 5698

Re: [Class] CustomFont - Load font from file or resource, without needed install to system.

Thanks tmplinshi, looks promising. Unfortunately I only get a rectangle image on the menu, regardless of the icon no.
by m3user
17 Oct 2019, 10:06
Forum: Scripts and Functions
Topic: [Class] CustomFont - Load font from file or resource, without needed install to system.
Replies: 24
Views: 5698

Re: [Class] CustomFont - Load font from file or resource, without needed install to system.

Thanks for this great script. ;) You can download a Segoe MDL2 Assets icon font from https://docs.microsoft.com/en-us/windows/uwp/design/style/segoe-ui-symbol-font and use excellent Windows 10 icons without scaling issues: font1 := New CustomFont("SegMDL2.ttf") Gui, Font, s13, Segoe MDL2 Assets Gui,...
by m3user
05 Oct 2019, 05:27
Forum: Ask For Help
Topic: Selection with hidden tabs on two levels - possible?
Replies: 0
Views: 125

Selection with hidden tabs on two levels - possible?

Hi, I'm trying to simulate a gui selection with Tab control on two levels by using hidden tab controls and buttons. It looks like I don't understand the proper sequence of settings the tab contents. In the following example I cannot show the content of the second level tab - the edit controls never ...
by m3user
23 Sep 2019, 10:41
Forum: Ask For Help
Topic: Is it possible to show Tab control above Progress control?
Replies: 3
Views: 215

Re: Is it possible to show Tab control above Progress control?

Thanks Alguimist, excellent, although I don't understand what you did... ;)

May I ask if you happen to know how to solve my other issue related to tabs?
https://www.autohotkey.com/boards/viewtopic.php?t=59090

Would it be possible to somehow mask gray colored space on the right of the tabs?
by m3user
22 Sep 2019, 10:08
Forum: Ask For Help
Topic: Is it possible to show Tab control above Progress control?
Replies: 3
Views: 215

Is it possible to show Tab control above Progress control?

I use progress control to draw a simple colored rectangle but I cannot show a Tab control over it - please see the example. Is this a bug? Any idea how to do this?

Code: Select all

gui, add, progress, xm+40 w100 h100 Background0xa0a0a0 disabled
gui, add, tab2, xm ym+10 w300 h200, Tab one|Tab two
gui, show
by m3user
24 Aug 2019, 13:59
Forum: Scripts and Functions
Topic: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)
Replies: 296
Views: 108413

Re: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)

Thanks, this is really great. Do you think it be possible to simulate other controls, like buttons, dropdowns and tabs?
by m3user
24 Aug 2019, 10:50
Forum: Scripts and Functions
Topic: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)
Replies: 296
Views: 108413

Re: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)

Tmplinshi, that's impressive. Could you share the code?
by m3user
24 Aug 2019, 10:13
Forum: Ask For Help
Topic: Clickable text with color background - how?
Replies: 3
Views: 316

Clickable text with color background - how?

Hi, I'm trying to make a clickable text with the colored background where the color would change on the click. I was able to make the color background using Progress control but still need help on the following: - how to change the background color (Alt-X shortcut works but the text is not visible a...
by m3user
09 Aug 2019, 08:20
Forum: Ask For Help
Topic: Multi-icon .ico file - questions
Replies: 3
Views: 266

Re: Multi-icon .ico file - questions

Thanks teadrinker, much clearer now.
Which script did you use to show icons in the file?
by m3user
08 Aug 2019, 05:34
Forum: Ask For Help
Topic: Multi-icon .ico file - questions
Replies: 3
Views: 266

Multi-icon .ico file - questions

Hi, I ask this as I'm not sure I understand how icon (.ico) files work with AutoHotkey. I use some icons in my script gui and wish they look good in any resolution and scaling setting. I created ico files containing multiple icons of different sizes (16x16, 32x32 etc). The idea is to show the proper...
by m3user
23 Jun 2019, 14:25
Forum: Ask For Help
Topic: Position another gui below the button
Replies: 3
Views: 313

Re: Position another gui below the button

How can I get this?
by m3user
23 Jun 2019, 13:15
Forum: Ask For Help
Topic: Position another gui below the button
Replies: 3
Views: 313

Position another gui below the button

Sorry, I struggle with this... I try to show another gui exactly below the button but whatever I do the position is not correct... What am I doing wrong? I need it to work on both, normal and 4K monitors. DPf:=A_ScreenDPI/96 gui, add, button, w80 h30 vMyButton gOpen, Button gui, show, w200 h200 retu...
by m3user
23 Jun 2019, 09:15
Forum: Ask For Help
Topic: Get a control position on screen Topic is solved
Replies: 5
Views: 458

Get a control position on screen Topic is solved

Is it possible to get a control (for example button) position relative to entire screen? I tried GuiControl Get, Pos but it only gets a position relative to window.
by m3user
07 Jun 2019, 12:42
Forum: Ask For Help
Topic: Is it possible to disable ListView but not column sorting?
Replies: 1
Views: 165

Is it possible to disable ListView but not column sorting?

Is it possible to protect a ListView in a way that rows are never highlighted when clicked on?
It should still be sorted normally by clicking the column headers.

Go to advanced search