Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CReBarCtrl notification messages

Status
Not open for further replies.

dima2

Programmer
Jan 20, 2002
85
0
0
LB
hi,
in my application I have a CRebarCtrl in a dialog, and need to get a notification when the user is dragging or resizing it .
After reading about "Processing Notification Messages in a Rebar Control " in the msdn documention, I learned that I should implement the OnChildNotify function.
I did that, however this function is never called !
Am I missing something?
thx
 
Hi,
It seems that judging from Microsoft's documentation, that the preferred way to go here is to use CRebar instead of CRebarCtrl. Then you access the CRebarCtrl using CReBar::GetReBarCtrl. In this case, Implementing OnNotify in the CMainFrame class works. I have a pending case with
Microsoft support on rebars, but the engineer is taking alot
of time (heavy case loads?) getting back to me. Maybe the Microsoft documentation is wrong?
-srfink



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top