Page 7 of 71

Posted: Sun May 17, 2009 10:42 pm
by PrincieD
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!

Posted: Tue May 19, 2009 4:07 pm
by PrincieD
Hey guys!

I've managed to get a VMware version of Windows7 running side by side on my XP installation :D 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.

Posted: Tue May 19, 2009 7:18 pm
by ts-soft
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
greetings
Thomas

// edit
for your scintilla problem use this:
scintillahelper :wink:

Posted: Tue May 19, 2009 10:36 pm
by blueznl
PrincieD, what are you using for VM7? A VM such as VMWare or VirtualBox?

Posted: Tue May 19, 2009 10:54 pm
by DoubleDutch
blueznl: Windows 7 runs fine in VirtualPC from Microsoft.

Posted: Tue May 19, 2009 10:56 pm
by DoubleDutch
ts-soft: What's ScintillaHelper? :shock:

Posted: Tue May 19, 2009 11:14 pm
by ts-soft
DoubleDutch wrote:ts-soft: What's ScintillaHelper? :shock:
Is a small OpenSource UserLib from me, documented in german :wink:
Some Functions like EditorGadget, some Helpfunctions and a
ScintillaGadgetPB() with SyntaxHighlighning for PB

You can use it, but translation is not my problem :wink:

Posted: Sat May 23, 2009 12:48 am
by PrincieD
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
Hmm looks like the first wID is not initalised or saved?
Thanks for the Scintilla helper btw! :)
PrincieD, what are you using for VM7? A VM such as VMWare or VirtualBox?
I'm using VMWare player, it works really well even though I've got bugger all RAM :)

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

Posted: Sat May 23, 2009 12:21 pm
by X0r
Still can not get any of the examples to run.
The debugger always says: The debugged executable quit unexpectedly.

Posted: Sat May 23, 2009 3:03 pm
by rsts
The examples I've tried work fine.

Posted: Tue May 26, 2009 3:28 pm
by ts-soft
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

Posted: Wed May 27, 2009 5:13 pm
by ts-soft
How can i show a $ in a popupmenu without right alignment

Posted: Fri May 29, 2009 3:29 pm
by PrincieD
Hi guys!
Still can not get any of the examples to run.
The debugger always says: The debugged executable quit unexpectedly.
Soner, do the examples work when compiled with the userlib or do they just crash with the dll?
Next Bug:
Without Mainmenü PopupMenuEx doesn't work!
With Menu all PB-Menues a broken!
Hmm, i'll look into it!
How can i show a $ in a popupmenu without right alignment
Do you mean the character '$' ? if so i'll add a double '$' escape code.

Thanks for the bug reports guys!

Chris.

Posted: Fri May 29, 2009 3:40 pm
by ts-soft
> Do you mean the character '$' ?
Yes, i have to add some directories and Recycle.bin beginns with $ :wink:

Posted: Fri May 29, 2009 4:09 pm
by PrincieD
> Do you mean the character '$' ?
Yes, i have to add some directories and Recycle.bin beginns with $ Wink
Ahh cool man, I'll get onto it :)