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
------------------
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
------------------
Comment