You are not logged in. You can browse in the PowerBASIC Community, but you must click Login (top right) before you can post. If this is your first visit, check out the FAQ or Sign Up.
Hello all,
It's starting to thaw out here in Southeast-lower Michigan but
I don't think my brain is. Is this the correct definition for
this:
%RBS_DBLCLKTOGGLE = &H8000
At this point I don't know what else to think of. I can't get
my bands to show on my rebar with this flag set..
This is my creation call:
' Create the Rebar
hRebar = CreateWindowEx(%WS_EX_TOOLWINDOW, _
"RebarWindow32", _
ByVal %NULL, _
%WS_CHILD Or _
%WS_BORDER Or _
%WS_VISIBLE Or _
%WS_CLIPCHILDREN Or _
%WS_CLIPSIBLINGS Or _
%RBS_BANDBORDERS Or _
%RBS_VARHEIGHT Or _
%RBS_DBLCLKTOGGLE Or _
%CCS_NODIVIDER Or _
%CCS_NOPARENTALIGN, _
0, 0, _
rct.nRight, 0, _
hWnd, _
%ID_COOLBAR, _
hInst, _
ByVal %NULL)
I just get a thin strip at the top of the window under the title
bar. I remove the %RBS_DBLCLKTOGGLE flag and everything is
fine. The three bands I create show just fine then. I bet it is a
a simple problem due to a lack of understanding on my part(Wouldn't
be the first time for me!); that is why I can't spot the problem!
I wonder if someone; if it wouldn't be too much trouble, could
give me a little insight on the rebar control. I am just using
the pbnote sample as a guinea pig for this experiment. I am just
curious as to how the rebar control works. I have picked up alot
of info by poking around on the forum and over at msdn. Just singing the
rebar blues...la-da-da-da!
Your friendly-neigborhood meatball-coder,
(That's what my code ususally turns out to be! )
Adam
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, and to analyze site activity. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Leave a comment: