yes it does,, like if the same chracters are in unicode(utf-8) format
aravind sn
Posts
-
SDI for GB2312 -
SDI for GB2312yes that looks helpful,, let me look in to the LOGFONT now. thanks anyways.
-
SDI for GB2312hi, Anyone know how to display the GB2312 formatted in an MFC application. I just have create an SDI to read the the text file formatted in GB2312. I tried it dosen't display the chineese kanji characters. please help me out.
-
"Ok" and "Apply" functions are overruled by the other property pages.Yes any page you go and click ok, it will first go to the Csheet1::onOK() and then to their class defined Csheetx::onOK() funtion. "Also from the above, are you saying that they all share the same buttons ? if that is so then that is the problem !" RE: Generally its the property of the property page which looks like sharing the same "OK" "Apply" and "Cancel" button,, for example,, open your Internet option (in internet explorer) the bottom 3 buttons look like common.
-
"Ok" and "Apply" functions are overruled by the other property pages.Hi techies, I have a problem and i really dont know how this happens. I have a property page window with say 4 property pages.(sheet1,sheet2,sheet3sheet4) and obviously they all have common "Ok" "Apply" and "Cancel" button. Each of the sheets have their own classes say Csheet1,Csheet2,Csheet3,Csheet4 with each of them having their own function definations for "Ok" "Apply" and "Cancel" (like Csheet1:: onOK(), Csheet2:: onOK(), Csheet4:: onOK(),, etc). But if im in sheet4 and press Ok or Apply why the hell it goes to Csheet1:: onOK() and then to Csheet4:: onOK(),, though im averse to this action. please help me...!! i just want the functions of class correponding to the sheets to be invoked. say if im in sheet1 and press "ok" or "Apply" then Csheet1:: onOK() or Csheet1:: onApply() resp. should be opened..!!1 please get a solution.
-
convert TCHAR to CStringCString is 16 bit under unicode but 8bit under non unicode version i guess. but so underunicode version direct conversion can be done as TCHAR is unsigned short. where in non unicode version, WideCharToMultiByte() can be used
-
Displaying unicode value in MFC CEdit text boxnope i tried it before sending the last post, also make sure u have used the macros _UNICODE and UNICODE, y dont u give it a go for variable of type CString of that EditBox and then m_EditMessage=symbolText; but the Edit control has to work,,,i wonder, also check whether it can read the unicodes if(symbolText.GetAt(0) == 0xFEFF) { Edit.SetWindowText(symbolText); } else MessageBox("\nOoops Sorry,, I gave UP..!!!:)");
-
Displaying unicode value in MFC CEdit text boxHey Bhanu,, Y dont you try out this,, Say you wanna display "↨↔♀☺☻♥♦♣" on the MFC window.. create an array of type unsigend short with the decimal values of these symbols.say, wchar_t mySymbols[]={8616, 8595, ...., ...., ...., 0000}; //(make sure array ends with 0000); //this unicode values u can get from MSWord[Menu->Insert->Symbols) //then CString symbolText(mySymbols); M_displaytext=symbolText; or M_displaytext=SetWindowText(symbolText); .. think this will work out... -regards aravind sn
-
Displaying Special symbols on the dialog window.Thank you,, i just did and array of (unsigned short)decimal values for the unicode. then to CString. thanks stuart for ya reply... :)
-
Displaying Special symbols on the dialog window.hey Stuart,, thanks ya for the reply,, but actually im trying to put the unicode strings on the window. also there is one more method to retrieve from an unicode file(where these ↑ and ↓ are being stored) and display it on the window.. since those stuffs make my project messy,, thought of putting direct unicode string in the code,, i thing may be the numeric value of the unicode may work...
-
Displaying Special symbols on the dialog window.Hello Im stuck with the problem of displaying special symbols say m_up_direction= "↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑"; or m_down_direction= "↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ "; on the dialog window(im using vc++ 6.0) could any please help ,e whether i need to type cast the expression or do any setting...?? -thanks
-
Calling the functions from different classHi anshuman, thanks for your reply, Actually,A1(object of ClassA) is like a handle to the table in the mainpage(flex grid). if i create 2 bjects that will create 2 flex grids. Instead i just wanted to update the already created table contents by this object A1. "Dlg1" is the object of class "ClassDlg" where class ClassDlg { public: FunDlg(); OnRefresh() } i just wanted to call these function say "A1.function_A(); and A1.function_B();" inside the member function of class ClassDlg.
-
Calling the functions from different classHello all, im very much confused with this make this snippet work,, let me explain my problem in simple. please follow the folling code. class ClassA { public: function_A(); function_B(); } class Class1 { public: ClassA A1 Function_1(); } class Class1::Function_1() { Dlg1.DoModal(); A1.function_A(); A1.function_B(); } class ClassDlg { FunDlg(); } ClassDlg::OnRefresh() { i wanted "A1.function_A();" i wanted "A1.function_B();" } The Dialog window will be called by "Class1::Function_1()" so after closing the dialog window the function "A1.function_A();" and "A1.function_B();" are called in order to update the contents of the mainpage(say property page). actually the contents are modified in the dialog window. so what i wanted to do is call the functions "A1.function_A();" and "A1.function_B();" before closing the dialog window say at after pressing the"Refresh" button(OnRefresh will be called). Im confused its not just happening what i desired. can any expert give me a solution, like is there any try statement i can give..?? please help me...
-
MFC Application with different DLLs(having same function name)thanks stuart,, it really worked the way u suggested, thanks a lot, thank you rajesh for responding to the post -regards aravind
-
MFC Application with different DLLs(having same function name)hi stuart thanks a lot,, i luk in to that,, (its late night here,, im leaving)im quite new so need to cover ur suggestion in detail hi rajesh, thanks for you too for the reply, actually the 3 DLLs are the c middleware i got that from the customer, and all three are for different language support, so if i select German, My application ll select the 1st first DLL and its functionality to process the text-contents, if i select the French , then 2nd DLL, if its English then 3rd DLL,. I have no rights to change these DLLs -regards aravind
-
MFC Application with different DLLs(having same function name)hello, im bit new to MFC, actually i have to write an MFC application, say it depends on three DLLs but not simultaneously, The function names are same in all 3 DLLs but with the changed functionality. any how i guess i cannot include all these 3 dlls in the project settings, because of the ambigious functions in each DLLs. Can any provide me a solution for this -thanks aravind
-
copying text from the webpages or pdfs which are selected by mouseim a semi newbie to MFC. Im developing an application where in i have to copy the text whereever my mouse navigates and selects some texts. It can be like i select some texts by the mouse cursor and then hit a hot key(ctr+T etc..)so that my Application reads the texts and dumpsand then further process the received texts. Can any one please suggest me that idea that what functions or classes i can use.