Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » How to make CExtDynamicControlBar unresizable Collapse All
Subject Author Date
Chun Pong Lau Oct 10, 2006 - 4:29 AM

Dear support,

Can I make a CExtDynamicControlBar unresizable?

Thanks in advance,
Alan

Chun Pong Lau Oct 10, 2006 - 10:16 AM

Dear Suhai,

I’ve followed the instructions and thank you, it is true that the control bar is unresizeable. However, there are still two problems to me.

1) the cursor still turns to resizable cursor when it touches the control bars’ borders. Can I keep the cursor unchanged?

2) the border is still a thick one. Can I eliminate the these borders?

Thanks,
Alan

Suhai Gyorgy Oct 10, 2006 - 11:11 AM

1) Unfortunately I dont have the code in front of me right now, but if I remember right, I saw a method called _RowCanResizing or similar right around definition of _RowResizingStart method in CExtControlBar.h file. You can try overriding that as well and return false in it. But it is merely a guess.

2) Sorry, I dont have any idea about that one.

Suhai Gyorgy Oct 10, 2006 - 4:53 AM

Dear Alan,

Check out this FAQ: How to disable resizing a resizable control bar?