ObjectARX
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CCombox in MFCDialog and CAdUiPaletteSet, do not work well

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
421232206
1031 Views, 2 Replies

CCombox in MFCDialog and CAdUiPaletteSet, do not work well

hi,

   I have a MFC dialog which has a CCombox, and I want to use CAdUiPaletteSet to show this MFC dialog, but the Combox can not be selected by mouse, and can only change selection by keyborad(the up,and down arrow). 

   I uploaded the sample code, and can anyone give me some advice?

   in the jpeg below, you can see, the combox has four items, but once the mouse moves, the items disappear immediately.

Technology change world! Coding change technology! We coders are coding!
2 REPLIES 2
Message 2 of 3
owenwengerd
in reply to: 421232206

I didn't look at your code, but this sounds like a case of not handling the WM_ACADKEEPFOCUS message. Search for the CAdUiPalette::CanFrameworkTakeFocus() function in the ObjectARX SDK documentation.

--
Owen Wengerd
ManuSoft
Message 3 of 3
421232206
in reply to: owenwengerd

dear owenwengerd, you don't know how long time this problem had haunted me . and your advice worked. thanks so much.
Technology change world! Coding change technology! We coders are coding!

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost