flat assembler
Message board for the users of flat assembler.

Index > Windows > InitializeFlatSB + TreeView = ?

Author
Thread Post new topic Reply to topic
polygon7



Joined: 14 Aug 2003
Posts: 62
Location: Poznan, Poland
polygon7
How to create TreeView with flat scrollbar using Flat ScrollBar API (comctl32)?
I wrote:
Code:
invoke  GetDlgItem,ebx,801; 801 = ID of TreeView control
mov     [hTree],eax
invoke  InitializeFlatSB,eax
invoke  FlatSB_SetScrollProp,[hTree],0x100,2,1
                   ;WSB_PROP_VSTYLE=0x100,FSB_FLAT_MODE=2
invoke  FlatSB_SetScrollProp,[hTree],0x200,2,1
                   ;WSB_PROP_HSTYLE=0x200,FSB_FLAT_MODE=2    

But this dont show any scrollbar. When i remove this code standard scrollbar is visible.

_________________
best regards
p7
Post 01 Sep 2004, 21:21
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.