Page 7 of 103

Posted: Thu Sep 14, 2006 6:36 pm
by nicolaus
thx gnozal!

How i can set the path to the compiler if the PureFORM.exe not in the install directory of PB ?

regards,
Nico

Posted: Fri Sep 15, 2006 1:22 am
by chen
How could I resize two objects placed vertically in a window in a proportional
way? its to say if I resize the window I want the objects dont overlap, I want
the objects resize like if they were only one object.

Posted: Fri Sep 15, 2006 1:34 am
by chen
Two points

- When you use PureColor in a Tab Gadget as backgroung and run it
using option Run (XP Style) the color does not appear.

- If you change the text in the tab (replace tab #1) and run it XP Style,
when you pass the cursor over this text it goes out of sight.

Posted: Fri Sep 15, 2006 7:34 am
by gnozal
chen wrote:When you use PureColor in a Tab Gadget as backgroung and run it using option Run (XP Style) the color does not appear.
It's a known problem with PureCOLOR.
For some reason, M$ does not comply with its own API specifications when XP styles are used : some ownerdraw gadgets used in PureCOLOR don't work with XP styles (PanelGadget, Buttons, ...).
And I don't have XP...
chen wrote:If you change the text in the tab (replace tab #1) and run it XP Style, when you pass the cursor over this text it goes out of sight.
I don't have XP...
And if you run the code in the editor/jaPBe ?

Posted: Fri Sep 15, 2006 7:34 am
by gnozal
nicolaus wrote:thx gnozal!
How i can set the path to the compiler if the PureFORM.exe not in the install directory of PB ?
regards,
Nico
You can't.
I will add the option.

Posted: Fri Sep 15, 2006 7:36 am
by gnozal
chen wrote:How could I resize two objects placed vertically in a window in a proportional way? its to say if I resize the window I want the objects dont overlap, I want the objects resize like if they were only one object.
Sorry, I don't understand what you mean ...

Posted: Fri Sep 15, 2006 8:33 am
by gnozal
Update

Changes
- some fixes
- added : you can choose the compiler path.
- added : Splittergadgets in containers (ContainerGadget, PanelGadget) : first select container (blue frame) and then create splitter (or use right-click context menu as before).

Posted: Fri Sep 15, 2006 10:22 am
by nicolaus
@gnozal

thx for the very fast update ;)

and how i can add e seperator (-----------) into a menu?

regards,
Nico

Posted: Fri Sep 15, 2006 10:24 am
by gnozal
nicolaus wrote:and how i can add e seperator (-----------) into a menu?
Damn, I didn't think of that :oops:
I will have to add it ....

Posted: Fri Sep 15, 2006 10:26 am
by ts-soft
from falo (german forum)
there is a bug in GadgetBar
If you create a ImageButtonGadget, the result is a ImageGadget

thx, fine tool

Posted: Fri Sep 15, 2006 11:05 am
by gnozal
Update

Changes
- added menu separator in MenuBuilder
- fixed a GadgetBar bug (if you created an ImageButtonGadget, the result was an ImageGadget)

Posted: Fri Sep 15, 2006 1:21 pm
by ts-soft
In PureResize and PureColor a no stringparameter, but unicode works not.
Can you import all required API in ansi, so the libs shout work in unicode also
and i can use the extra features of the designer, please

Posted: Fri Sep 15, 2006 1:34 pm
by gnozal
ts-soft wrote:In PureResize and PureColor a no stringparameter, but unicode works not.
They use strings (internal only, to get window classes for example).
Though I managed to build threadsafe libs, the libs still don't work in unicode mode ; it's a known problem with userlibs ( http://www.purebasic.fr/english/viewtop ... c&start=32 ).
ts-soft wrote:Can you import all required API in ansi, so the libs shout work in unicode also and i can use the extra features of the designer, please
I don't know how to build a working ANSI&UNICODE library with Tailbite. I guess we have to wait for the final Tailbite for PB4 release.

Posted: Fri Sep 15, 2006 1:41 pm
by ts-soft
I have made a small tutorial for this, but in german, my english isn't good :oops:
http://www.purebasic.fr/german/viewtopic.php?t=9924
I hope this helps a bit :wink:

Posted: Fri Sep 15, 2006 1:48 pm
by ts-soft
> They use strings (internal only, to get window classes for example).

Code: Select all

Import "user32.lib"
 GetClassNameA(hwnd.l, lpClassName.l, nMaxCount.l)
EndImport
Change GetClassName_ to GetClassNameA :wink: