RE: FlatToolBar

new topic     » topic index » view thread      » older message » newer message

Hi Victor,
sorry this has taken so long to get back to you.


> -----Original Message-----
> From: Victor Churikov [mailto:phyvmc at ccunix.ccu.edu.tw]
> Sent: Wednesday, 16 May 2001 4:49 PM
> To: EUforum
> Subject: FlatToolBar

> I have a little question too: Is the control FlatToolBar fully
> functional?

Not really. There are some aspects that are "hardcoded" into win32lib and
still other that are not implemented.

> If so, could anyone tell me how to set a picture and hint to a
> FlatToolBar button? And how to change a size of the button?

I see you have mastered creating one of these. There is a bug in the library
for using tooltips.

To fix it, find the function line below...

function fDoTTN_GETDISPINFO(integer id, atom hWnd, atom wParam, atom lParam)

and insert the following line just after it as the first line in the
function.

    id = wParam

I've fixed this in the next release.

Changing the size of the images is difficult at the moment because its size
is hardcoded in the library. This will require an enhancement to allow the
user to specify their own image sizes.

-----------
cheers,
Derek Parnell

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu