Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Toolbar Gripper - and How to remove it
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00899734
Message ID:
00899761
Views:
19
How about turning off the theme support?



>Hi!
>
>How can I remove the Gripper of my docked Toolbar (See Gripper here http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/faq/ietoolbar.asp)
>
>Possibly there is an API... but I dont know how to use it:
>
>Found something in Visual Basic but don't know how to implement this into Fox.
>It must be used with something like this in toolbar.paint Method:
>RB_SETBANDINFO = 1025
>RebarBand.fMask = RBBIM_COLORS Or RBBIM_IMAGE Or RBBIM_BACKGROUND Or ;
>RBBS_FIXEDBMP Or RBBIM_CHILD Or RBBIM_CHILDSIZE Or ;
>RBBIM_ID Or RBBIM_STYLE Or RBBIM_TEXT Or RBBS_BREAK Or RBS_FIXEDORDER Or ;
>RBBS_FIXEDSIZE
>SendMessage(n_toolbar_hWnd, RB_SETBANDINFO, nCount, RebarBand)
>
>The Rebarband Object Type is this:
>
>Private Type tagRebarBandInfo
> cbSize As Long
> fMask As Long
> fStyle As Long
> clrFore As Long
> clrBack As Long
> lpText As String
> cch As Long
> iImage As Long
> hWndChild As Long
> cxMinChild As Long
> cyMinChild As Long
> cx As Long
> hbmBack As Long
> wID As Long
>End Type
>
>Overpainting them does not help, because I need the Space.
>
>Misrosoft MSDN say this:
>The grippers are included by default. To omit the gripper for a band, set the RBBS_NOGRIPPER flag in the fStyle member of the band's REBARBANDINFO structure. For further information on implementing rebar controls, see Rebar Controls.
>See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/rebar/reflist.asp
>
>
>I just posted this one in the Classes, but I think it is not correct there because VFP6 hasn't got a gripper for a toolbar.
>
>Thank you
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Previous
Reply
Map
View

Click here to load this message in the networking platform