简体   繁体   English

如何在C ++中保持按下按钮?

[英]How do I keep a button depressed in C++?

I want to create a navigation panel in my C++.net application, and I want to keep a button (or similar component) depressed to show that is the page the user is currently on. 我想在C ++。net应用程序中创建一个导航面板,并且想保持按下按钮(或类似组件)的状态,以显示该用户当前所在的页面。

Here is a image of what I mean: 这是我的意思的图片:

添加/删除程序

How do I create a button that looks like that. 如何创建一个看起来像这样的按钮。 (After further inspection, I think it's not a button, however, I cannot figure out the exact control unless it is a image drawn on the screen.) (经过进一步检查,我认为这不是一个按钮,但是,除非它是在屏幕上绘制的图像,否则我无法弄清楚确切的控件。)

Thanks. 谢谢。

That is commonly called an "Outlook Bar". 通常称为“ Outlook栏”。 There are several examples at codeproject.com 在codeproject.com上有几个示例

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM