CMFCMenuBar - fixed position

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
I need to fixed menu on the top of frame.
I used this

<pre lang=x-cpp>m_wndMenuBar.GetPaneStyle()& ~(CBRS_GRIPPER | CBRS_FLOATING) |

CBRS_TOOLTIPS | CBRS_TOP | CBRS_SIZE_FIXED | CBRS_ALIGN_TOP |

CCS_TOP );[/code]
<br/>

but if I drug menu - it move. SO, How to fixed it?

View the full article
 
Back
Top