Click here to Skip to main content
15,911,039 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Showing memory contents into a HTMLView? Pin
J Patel4-Dec-02 8:09
J Patel4-Dec-02 8:09 
GeneralRe: Showing memory contents into a HTMLView? Pin
Ravi Bhavnani4-Dec-02 10:38
professionalRavi Bhavnani4-Dec-02 10:38 
GeneralRe: Showing memory contents into a HTMLView? Pin
J Patel4-Dec-02 10:47
J Patel4-Dec-02 10:47 
GeneralRe: Showing memory contents into a HTMLView? Pin
Ravi Bhavnani4-Dec-02 11:58
professionalRavi Bhavnani4-Dec-02 11:58 
GeneralRe: Showing memory contents into a HTMLView? Pin
Joan M4-Dec-02 20:46
professionalJoan M4-Dec-02 20:46 
GeneralRe: Showing memory contents into a HTMLView? Pin
J Patel5-Dec-02 4:00
J Patel5-Dec-02 4:00 
AnswerRe: Showing memory contents into a HTMLView? Pin
David Salter4-Dec-02 12:12
David Salter4-Dec-02 12:12 
GeneralControl not showing immediately Pin
Brigg Thorp4-Dec-02 1:19
Brigg Thorp4-Dec-02 1:19 
QuestionBitBlt not working? Pin
S O S4-Dec-02 0:38
S O S4-Dec-02 0:38 
AnswerRe: BitBlt not working? Pin
Christian Graus4-Dec-02 0:43
protectorChristian Graus4-Dec-02 0:43 
GeneralRe: BitBlt not working? Pin
S O S4-Dec-02 5:22
S O S4-Dec-02 5:22 
GeneralRe: BitBlt not working? Pin
KaЯl4-Dec-02 5:30
KaЯl4-Dec-02 5:30 
GeneralRe: BitBlt not working? Pin
S O S4-Dec-02 5:50
S O S4-Dec-02 5:50 
GeneralRe: BitBlt not working? Pin
KaЯl4-Dec-02 6:03
KaЯl4-Dec-02 6:03 
GeneralRe: BitBlt not working? Pin
S O S4-Dec-02 7:46
S O S4-Dec-02 7:46 
GeneralRe: BitBlt not working? Pin
KaЯl4-Dec-02 13:35
KaЯl4-Dec-02 13:35 
GeneralRepaint slider channel Pin
Neha3-Dec-02 23:46
Neha3-Dec-02 23:46 
GeneralRe: Repaint slider channel Pin
KaЯl3-Dec-02 23:58
KaЯl3-Dec-02 23:58 
GeneralRe: MyListCtrl.SetSelectionMark doesn't call OnItemChangedLCtrl(...) Pin
MFC is the Best4-Dec-02 0:15
MFC is the Best4-Dec-02 0:15 
Generaltext from edit to list box Pin
xxhimanshu3-Dec-02 23:21
xxhimanshu3-Dec-02 23:21 
GeneralRe: text from edit to list box Pin
Michael P Butler3-Dec-02 23:48
Michael P Butler3-Dec-02 23:48 
GeneralRe: text from edit to list box Pin
Joan M3-Dec-02 23:54
professionalJoan M3-Dec-02 23:54 
GeneralRe: text from edit to list box Pin
xxhimanshu4-Dec-02 0:06
xxhimanshu4-Dec-02 0:06 
GeneralProblems with data conversion Pin
Gian3-Dec-02 22:57
Gian3-Dec-02 22:57 
Hi,
i've a problem converting data from a format to another. the function

VARIANT SaveToMemory(const VARIANT& Format, const VARIANT& CurSelection);

returns a byte array (text data) casted like a VARIANT. I need to put this array in a CString variable. So I've used this:

COleVariant varBuffer;
COleVariant mode, cur;
mode = (long)5;
cur = (short)TRUE;
varBuffer = m_txctrl.SaveToMemory(mode, cur);
CString m_text = ((CByteArray &)(varBuffer.pbVal)).GetData();


But this will return an empty string. using CString m_text = (varBuffer.pbVal); return me a single byte.

It's wrong my code?

GeneralRe: Problems with data conversion Pin
Hans Ruck4-Dec-02 0:50
Hans Ruck4-Dec-02 0:50 

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.