User (Legacy) Posted March 15, 2005 Report Share Posted March 15, 2005 It seems that the ChangeFont event happens prior to the display of the font dialog. I am not able to find a message that happens after a font is actually changed. Is there such a message? Link to comment Share on other sites More sharing options...
Software FX Posted March 20, 2005 Report Share Posted March 20, 2005 Correct. This is by design. The idea of this event is so that you can prevent certain fonts from being selected. There is event AFTER the font is changed, however, this is quite easy to implement on your side: 1) Capture the ChangeFont event. In this event, save all the necessary state coming from the chart. 2) Push a call to yourself so that AFTER you return from your event handler, you get called again. The implementation of this will depend on which dev. environment you are using. In VB you can do a timer with Interval = 1, in C++ you can use PostMessage. 3) Upon receiving the delayed call retrieve the new font from the chart using the state information gathered in 1) -- FP Software FX Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.