Click here to Skip to main content
15,890,512 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: fading text out Pin
bektek25-Oct-04 7:35
bektek25-Oct-04 7:35 
GeneralRe: fading text out Pin
Blake Miller25-Oct-04 8:54
Blake Miller25-Oct-04 8:54 
GeneralRe: fading text out Pin
bektek25-Oct-04 9:20
bektek25-Oct-04 9:20 
GeneralRe: fading text out Pin
bektek25-Oct-04 9:21
bektek25-Oct-04 9:21 
QuestionC++ debuggin question - detect change in variable? Pin
Indrawati24-Oct-04 19:16
Indrawati24-Oct-04 19:16 
AnswerRe: C++ debuggin question - detect change in variable? Pin
Lim Bio Liong24-Oct-04 21:21
Lim Bio Liong24-Oct-04 21:21 
GeneralRe: C++ debuggin question - detect change in variable? Pin
dharani26-Oct-04 22:04
dharani26-Oct-04 22:04 
GeneralActiveX and Japanese Pin
phuna24-Oct-04 19:02
phuna24-Oct-04 19:02 
Hi all,
Sorry if my post is at wrong forum.
I have an ActiveX Control with a property name "Title". The put function is like this:

STDMETHODIMP CAxTestCtrl::put_Title(BSTR newVal)
{
AFX_MANAGE_STATE(AfxGetStaticModuleState());

m_strTitle = (CString)newVal; // CString m_strTitle

return S_OK;
}

In the web page, which has Shift_JIS charset, I use javascript to pass a Japanese string to the "Title" property:

function doSetTitle() {
AxTestCtrl.Title = Form1.txtTitle.value;
}

After calling the above javascript function, in the ActiveX control, the value of the m_strTitle is "????" (the Japanese string has 4 Japanese characters).

Did my code wrong somewhere?
Any help would be appreciated.
GeneralP310 Encoder Pin
Anonymous24-Oct-04 17:56
Anonymous24-Oct-04 17:56 
GeneralRe: P310 Encoder Pin
newgirls24-Oct-04 19:16
newgirls24-Oct-04 19:16 
GeneralAccess violation error. Pin
pmahindrakar24-Oct-04 16:36
pmahindrakar24-Oct-04 16:36 
GeneralRe: Access violation error. Pin
bryce24-Oct-04 19:20
bryce24-Oct-04 19:20 
GeneralRe: Access violation error. Pin
pmahindrakar25-Oct-04 20:52
pmahindrakar25-Oct-04 20:52 
GeneralFile Version Pin
picasso224-Oct-04 16:33
picasso224-Oct-04 16:33 
GeneralRe: File Version Pin
bryce24-Oct-04 16:40
bryce24-Oct-04 16:40 
GeneralMS Web Browser Control and activex control in dll Pin
bconline200224-Oct-04 15:43
bconline200224-Oct-04 15:43 
GeneralSplitter Windows OnDraw Pin
Michael Hendrickx24-Oct-04 15:39
Michael Hendrickx24-Oct-04 15:39 
QuestionCould I get the bitmaps stored at display memory Pin
Guoguor24-Oct-04 14:23
Guoguor24-Oct-04 14:23 
AnswerRe: Could I get the bitmaps stored at display memory Pin
Maximilien24-Oct-04 14:56
Maximilien24-Oct-04 14:56 
GeneralRe: Could I get the bitmaps stored at display memory Pin
Guoguor24-Oct-04 15:14
Guoguor24-Oct-04 15:14 
GeneralClass access from windows callback Pin
Member 67873924-Oct-04 13:18
Member 67873924-Oct-04 13:18 
GeneralPreprocessor output Pin
Member 67873924-Oct-04 13:15
Member 67873924-Oct-04 13:15 
GeneralRe: Preprocessor output Pin
Chris Richardson25-Oct-04 11:49
Chris Richardson25-Oct-04 11:49 
GeneralDerive a Queue class from a List class using private inheritance Pin
flowerkarma24-Oct-04 12:11
flowerkarma24-Oct-04 12:11 
GeneralQuestion about XP themes Pin
Marcus Spitzmiller24-Oct-04 9:21
Marcus Spitzmiller24-Oct-04 9:21 

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.