ProGUI V1.38 UI Library (Small Bug Fix)
Hey guys!
I've managed to get a VMware version of Windows7 running side by side on my XP installation
so I'll have the last few Vista bugs/rendering glitches fixed pretty soon now
The Office Example "menu clicking" crashes on Vista/Windows7 due to not adding 1byte null termination when allocating memory for passing unicode txt to Scintilla and is not a bug in ProGUI, just the example (I'll re-upload the fix soon).
change: *txt = AllocateMemory(StringByteLength(txt, #PB_Ascii))
to: *txt = AllocateMemory(StringByteLength(txt, #PB_Ascii)+1)
Cheers!
Chris.
I've managed to get a VMware version of Windows7 running side by side on my XP installation


change: *txt = AllocateMemory(StringByteLength(txt, #PB_Ascii))
to: *txt = AllocateMemory(StringByteLength(txt, #PB_Ascii)+1)
Cheers!
Chris.
PrincieD wrote:can you add the following lines before the "index = SendMessage_(RebarID(#rbMain), #RB_IDTOINDEX, ReBar\wID, 0)" and let me know the values:
debug RebarID(#rbMain)
debug ReBar\wID
^these should not display as null
Cheers!
greetingsDebugger wrote:198360
0
198360
298
198360
25
Thomas
// edit
for your scintilla problem use this:
scintillahelper

PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

PrincieD, what are you using for VM7? A VM such as VMWare or VirtualBox?
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
( The path to enlightenment and the PureBasic Survival Guide right here... )
- DoubleDutch
- Addict
- Posts: 3220
- Joined: Thu Aug 07, 2003 7:01 pm
- Location: United Kingdom
- Contact:
blueznl: Windows 7 runs fine in VirtualPC from Microsoft.
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
https://reportcomplete.com <- School end of term reports system
- DoubleDutch
- Addict
- Posts: 3220
- Joined: Thu Aug 07, 2003 7:01 pm
- Location: United Kingdom
- Contact:
ts-soft: What's ScintillaHelper? 

https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
https://reportcomplete.com <- School end of term reports system
Is a small OpenSource UserLib from me, documented in germanDoubleDutch wrote:ts-soft: What's ScintillaHelper?

Some Functions like EditorGadget, some Helpfunctions and a
ScintillaGadgetPB() with SyntaxHighlighning for PB
You can use it, but translation is not my problem

PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Hmm looks like the first wID is not initalised or saved?PrincieD wrote:
can you add the following lines before the "index = SendMessage_(RebarID(#rbMain), #RB_IDTOINDEX, ReBar\wID, 0)" and let me know the values:
debug RebarID(#rbMain)
debug ReBar\wID
^these should not display as null
Cheers!
Debugger wrote:
198360
0
198360
298
198360
25
Thanks for the Scintilla helper btw!

I'm using VMWare player, it works really well even though I've got bugger all RAMPrincieD, what are you using for VM7? A VM such as VMWare or VirtualBox?

P.S. New update is out! see top of thread

Examples works fine.
Next Bug:
Without Mainmenü PopupMenuEx doesn't work!
With Menu all PB-Menues a broken!
I still wait for a 64-Bit version
Greetings
Thomas
Next Bug:
Without Mainmenü PopupMenuEx doesn't work!
With Menu all PB-Menues a broken!
I still wait for a 64-Bit version
Greetings
Thomas
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

How can i show a $ in a popupmenu without right alignment
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Hi guys!
Thanks for the bug reports guys!
Chris.
Soner, do the examples work when compiled with the userlib or do they just crash with the dll?Still can not get any of the examples to run.
The debugger always says: The debugged executable quit unexpectedly.
Hmm, i'll look into it!Next Bug:
Without Mainmenü PopupMenuEx doesn't work!
With Menu all PB-Menues a broken!
Do you mean the character '$' ? if so i'll add a double '$' escape code.How can i show a $ in a popupmenu without right alignment
Thanks for the bug reports guys!
Chris.
> Do you mean the character '$' ?
Yes, i have to add some directories and Recycle.bin beginns with $
Yes, i have to add some directories and Recycle.bin beginns with $

PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
