It's me again.
Is it true that while working in VirtualMode, there's no Unicode support? I've got some other stuff in the db which doesn't show properly. I just tried the same stuff in the normal mode and it's fine there.
Regards,
Pete
VirtualMode & MySQL
Re: VirtualMode & MySQL
There is Unicode support in virtual mode, but you need to make the native list view believe that it is used inside a Unicode window so that it sends Unicode notification messages. I'll provide a sample project tonight or tomorrow.
Crunching for Fab36_Folding-Division at Folding@Home. Join Fab36/Fab30! - Folding@Home and BOINC
Boycott DRM! Boycott HDCP!
Boycott DRM! Boycott HDCP!
Re: VirtualMode & MySQL
Oh that'd be great. I wouldn't have a clue how to do that.
Re: VirtualMode & MySQL
See the attached file. Basically you need to subclass the list view's parent window (in this case it is the Form) and intercept the WM_NOTIFYFORMAT message. The native list view sends this message to its parent window. The response to this message decides how the list view will communicate with its parent window: ANSI or Unicode.
Some of ExplorerListView's events require this communication to use Unicode, otherwise the events won't support Unicode. The ItemGetDisplayInfo event is one of those events.
Regards
TiKu
Some of ExplorerListView's events require this communication to use Unicode, otherwise the events won't support Unicode. The ItemGetDisplayInfo event is one of those events.
Regards
TiKu
- Attachments
-
- lvwDraws.zip
- (10.29 KiB) Downloaded 793 times
Crunching for Fab36_Folding-Division at Folding@Home. Join Fab36/Fab30! - Folding@Home and BOINC
Boycott DRM! Boycott HDCP!
Boycott DRM! Boycott HDCP!
Re: VirtualMode & MySQL
This is it. Another perfect solution did the trick. Cheers, TiKu.
Hopefully, there will be no complex issues with my project.
Kind regards,
Pete
Hopefully, there will be no complex issues with my project.
Kind regards,
Pete