Click here to Skip to main content
15,888,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Why does Integer work, but not Boolean in Linux? Pin
PJ Arends1-Oct-05 12:38
professionalPJ Arends1-Oct-05 12:38 
GeneralRe: Why does Integer work, but not Boolean in Linux? Pin
Jörgen Sigvardsson1-Oct-05 14:00
Jörgen Sigvardsson1-Oct-05 14:00 
AnswerRe: Why does Integer work, but not Boolean in Linux? Pin
Prakash Nadar1-Oct-05 16:47
Prakash Nadar1-Oct-05 16:47 
QuestionUsing Protocols like SIP,H.323,RSVP,RTCP Pin
Naveen Prabhat1-Oct-05 6:15
Naveen Prabhat1-Oct-05 6:15 
QuestionWebBrowser AND Internet Options Pin
RaymondM1-Oct-05 5:07
RaymondM1-Oct-05 5:07 
AnswerRe: WebBrowser AND Internet Options Pin
Ravi Bhavnani1-Oct-05 5:41
professionalRavi Bhavnani1-Oct-05 5:41 
GeneralRe: WebBrowser AND Internet Options Pin
RaymondM1-Oct-05 6:20
RaymondM1-Oct-05 6:20 
QuestionRedraw the full screen? Pin
Rage_bla1-Oct-05 4:00
Rage_bla1-Oct-05 4:00 
AnswerRe: Redraw the full screen? Pin
FarPointer1-Oct-05 5:38
FarPointer1-Oct-05 5:38 
GeneralRe: Redraw the full screen? Pin
Rage_bla1-Oct-05 6:50
Rage_bla1-Oct-05 6:50 
GeneralRe: Redraw the full screen? Pin
Rage_bla1-Oct-05 7:22
Rage_bla1-Oct-05 7:22 
AnswerRe: Redraw the full screen? Pin
douglasjordan1-Oct-05 8:15
douglasjordan1-Oct-05 8:15 
GeneralRe: Redraw the full screen? Pin
Rage_bla1-Oct-05 11:13
Rage_bla1-Oct-05 11:13 
Questionhow to Insert BLOB images into Oracle Databse using ADO Pin
snprani1-Oct-05 3:29
snprani1-Oct-05 3:29 
QuestionMy windows aren't displayed in the taskbar Pin
Axonn Echysttas1-Oct-05 2:54
Axonn Echysttas1-Oct-05 2:54 
AnswerRe: My windows aren't displayed in the taskbar Pin
mark novak1-Oct-05 3:28
mark novak1-Oct-05 3:28 
GeneralRe: My windows aren't displayed in the taskbar Pin
Axonn Echysttas1-Oct-05 4:16
Axonn Echysttas1-Oct-05 4:16 
QuestionUNICODE STRING IN one col of LISTCTRL Pin
Jetli Jerry1-Oct-05 2:41
Jetli Jerry1-Oct-05 2:41 
AnswerRe: UNICODE STRING IN one col of LISTCTRL Pin
mark novak1-Oct-05 12:58
mark novak1-Oct-05 12:58 
This is tricky but you can actually mix unicode and ansi windows within an Application. When you define _UNICODE all the macros get mapped their *W functions. So SendMessage becomes SendMessageW, etc. Windows converts between unicode and ansi between windows your behalf so that if you call SetWindowText from an ansi program to a unicode program, the recieving program will get unicode from the ansi that the sender sent.

Windows tells if a window is unicode or not by how it was created. So RegisterClassA would be an window procedure expecting ansi and RegisterClassW excepts unicode. You can change this by calling SetWindowLongPtrW and passing GCLP_WNDPROC with a new WndProc. Make sure to end your new WndProc with CallWindowProcA because the original accepts ansi. This will however make the entire control unicode.

If your really want to save every character you can and only want that column's strings in Unicode you can try a combination of LVS_OWNERDATA and LVS_OWNERDRAWFIXED to manage your own strings and drawing.
GeneralRe: UNICODE STRING IN one col of LISTCTRL Pin
Jetli Jerry3-Oct-05 3:53
Jetli Jerry3-Oct-05 3:53 
GeneralRe: UNICODE STRING IN one col of LISTCTRL Pin
mark novak3-Oct-05 4:11
mark novak3-Oct-05 4:11 
GeneralRe: UNICODE STRING IN one col of LISTCTRL Pin
Jetli Jerry3-Oct-05 20:15
Jetli Jerry3-Oct-05 20:15 
QuestionCganging Dialog Box Color Pin
progvc1-Oct-05 2:26
progvc1-Oct-05 2:26 
AnswerRe: Cganging Dialog Box Color Pin
Jetli Jerry1-Oct-05 2:33
Jetli Jerry1-Oct-05 2:33 
GeneralRe: Cganging Dialog Box Color Pin
Jörgen Sigvardsson1-Oct-05 14:03
Jörgen Sigvardsson1-Oct-05 14:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.