Custom Title Bar with Win32 API
#8
(11-27-2022, 06:20 PM)gaslouk Wrote: I don't know about you but on my own Windows 11 system when running Pete's program when I went to open the top left menu the window was maximized instead.

                    tmp$ = SPACE$(3): MID$(tmp$, 2, 1) = "Q"

                CASE "Q"

So I replaced the "?" of the menu with the letter "Q" and everything works fine now.

Gaslouk.

Possibly a difference in keyboard language.

Code: (Select All)
tmp$ = SPACE$(3): MID$(tmp$, 2, 1) = "ð"


In my QB64 IDE that symbol is converted to ASCII extended character 240, three horizontal bars.

You might want to try a replace with CHR$(240)

Code: (Select All)
tmp$ = SPACE$(3): MID$(tmp$, 2, 1) = CHR$(240)

CASE CHR$(240)
Reply


Messages In This Thread
Custom Title Bar with Win32 API - by Pete - 11-27-2022, 07:11 AM
RE: Custom Title Bar with Win32 API - by Dav - 11-27-2022, 02:22 PM
RE: Custom Title Bar with Win32 API - by bplus - 11-27-2022, 03:35 PM
RE: Custom Title Bar with Win32 API - by Pete - 11-27-2022, 05:34 PM
RE: Custom Title Bar with Win32 API - by bplus - 11-27-2022, 06:11 PM
RE: Custom Title Bar with Win32 API - by Pete - 11-27-2022, 06:35 PM
RE: Custom Title Bar with Win32 API - by gaslouk - 11-27-2022, 06:20 PM
RE: Custom Title Bar with Win32 API - by Pete - 11-27-2022, 06:34 PM



Users browsing this thread: 1 Guest(s)