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 » Problem with Changing My Custom Grid color(A°t is not Prof_UIS grid) when Theme Changed at runtime Collapse All
Subject Author Date
Burak Petekkaya Apr 17, 2007 - 2:31 AM

Hi,

I have a visual c++ 6.0 mfc project.

I can handle the theme changed with using Pm_bridge,
I set grid colors in my color class acording to theme
I call my color class function where my custom grid I created.So,if a window opened for the first time ,Grid’s color can be set where the function call.

But ,if there are an opened page and I change Theme at runtime ,I can’t refresh page ’s grid’s color.

I think I must access my child frame(opened window) over my main frame

How can I do this?



Technical Support Apr 17, 2007 - 4:38 AM

You can implement the paint manager bridge interface in several classes. I.e. in each class where the theme changing notification is required and the window should be repainted. We guess you should implement this interface in your grid class.