Notification in wxNotebook control

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
AUser
Knows some wx things
Knows some wx things
Posts: 38
Joined: Mon Jun 26, 2006 12:18 am

Notification in wxNotebook control

Post by AUser »

Hello,

I use a wxNotebook control to present several data types to the user (grid, text field, image). The text field however is only rarely updated (usually if there is some non-critical error).

I would like to "pulse" the tab, such as by altering the colour briefly, to notify the user that a tab which is not in the forground has output, without being distracting. Is there any way I can do this? I had a look through the reference pages, but could not find anything appropriate, so it may well be that the answer is simply "no", but I thought it worth asking. Even limited OS support would be better than nothing.

Thanks.
Auria
Site Admin
Site Admin
Posts: 6695
Joined: Thu Sep 28, 2006 12:23 am
Contact:

Post by Auria »

I don't think there is a way to change the tab color, but you could add an icon and make it blink between two images with a wxTimer ?
"Keyboard not detected. Press F1 to continue"
-- Windows
Post Reply