Missing XTP_GN_PREVIEWAPPLY |
Post Reply |
Author | |
Fredrik
Senior Member Joined: 22 June 2005 Status: Offline Points: 235 |
Post Options
Thanks(0)
Posted: 16 July 2011 at 6:21am |
I tried to implement live preview using a CXTPControlComboBoxGalleryPopupBar. It works fine, except I don't receive any XTP_GN_PREVIEWAPPLY messages. To reproduce: use GallerySample, MainFrame.cpp: ON_NOTIFY(XTP_GN_PREVIEW..., ID_GALLERY_FONT, OnStylesPreview...) to ON_NOTIFY(XTP_GN_PREVIEW..., ID_GALLERY_FONTFACE, OnStylesPreview...) Run the program, change the font and look in the output window - OnStylesPreviewApply is not called. Solved it myself by overriding CXTPControlComboBoxGalleryPopupBar::OnLButtonUp and added access to m_bPreview in a derived CXTPControlGallery, or am I missing something?
|
|
Windows 10, Visual Studio 20157, Toolkit Pro 18.3.0
|
|
Fredrik
Senior Member Joined: 22 June 2005 Status: Offline Points: 235 |
Post Options
Thanks(0)
|
Any news on this?
To me it sounds like a bug that XTP_GN_PREVIEWAPPLY is not supported by the CXTPControlComboBoxGalleryPopupBar. (Tested in 15.1.3.)
|
|
Windows 10, Visual Studio 20157, Toolkit Pro 18.3.0
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |