I have fetched unicode data from microsoft database access in cstring variale as below _variant_t dataHnd; CString data2; dataHnd=pRecordset_Objectiv->GetCollect("Meaning"); data2=dataHnd.bstrVal; but in data2 variable ???? shows instead of hindi unicode data. plz anyone tell me how i can get hindi unicode data in string variable
prerananit
Posts
-
retriving hindi unicode data from database access in cstring variable in vc++,mfc -
how to make dialog box as modalIn my application the dialog box is modeless i want to make it as modal.In my application there is MainFrm.h and MainFrm.cpp classes are present.Please tell me what to do to make it as modal through code.
-
how to set font for menus in dialog based application in vc++,mfci have dialog based application in which i add menu form menu resource now i want to set font name and background colour of menu items but it never get reflected.please anyone tell me how to change the font name and background colour of menu in dialog based application in vc++,mfc
-
how to scroll the text in richedit control in vc++,mfcI have an richedit control.i set its multiline,vertical scroll property but while i scroll the mouse the text rich edit scroll does not scroll while on clicking of vertical bar text gets scrolled.but i want to scroll text in rich edit control on mousewheel command.
-
How to get the pixel values of character drawn inside rectangle present on dialog in vc++,mfci want to get the pixel values of character drawn inside rectangle present on dialog which is created by following code in OnPaint() function CPaintDC dc(this); CPoint pt; //for showing image dc.BitBlt(offsetx,offsety,m_size.cx,m_size.cy, &m_dcMem, sourcex, sourcey,SRCCOPY); erase=false; //Code for showing rectangle dc.Rectangle(100,200,200,300); RectBackground.SetRect(100,200,200,300); CBrush brush; brush.CreateSolidBrush(RGB(255,255,255)); dc.FillRect(RectBackground,&brush); dc.DrawFocusRect(&RectBackground); anyone can tell me how i can get pixel values of character drawn inside rectangle so that i can recognise what is drwn inside rectangle on button click event.
-
How to print whole dialog box in vc++,mfci used print function in my application it will print the contents of richedit control but i want to print whole dialog along with button and richedit control content in vc++,mfc.Anyone who knows this please help me.
-
how to set position of media player on anywhere on dialog boxi am showing media player on dialog box using MCIWNDCreate function as follows HWND h_video ; h_video = MCIWndCreate(this->GetSafeHwnd(), AfxGetInstanceHandle(), WS_CHILD |WS_VISIBLE|MCIWNDF_NOMENU|SWP_FRAMECHANGED,filePath); here h_video is handle of window by using MCIWNDPlay(h_video);it will play audio file but it will show that media player on top of dialog box but i want to show that player on anywhere on dialog box.Plz if anyone know this plz tell me how can i show that media on anywhere on dialog box.
-
how to display grid on dialog in dialog based application in vc++,mfchow to show grid on dialog in dialog based application as i want to write on this grid by using mouse in vc++,mfc
-
how to draw line by dragging mouse inside rectangle in dialog based application in vc++,mfchow to draw line by dragging mouse inside rectangle in dialog based application in vc++,mfc
-
i have written create process now i want to terminate process but it is not terminatedIn my application i have written code for creating process for showing new exe now when i terminated my application my application gets terminated but my pdf remains open it is not terminated anyone tell me how to terminate that process
-
how to set background color of menu and submenu in vc++I want to set background color of menu and submenu in dialog based application in vc++,mfc
-
displaying of context menu in richedittextbox control in vc++,mfcHow to display context menu on rightbutton click of mouse in richedit textbox control in vc++.In my application it will display context menu on dialog box on rightbutton click of mouse.but i want to show it on richedit tcontrol textbox in vc++,mfc
-
code for recognising character pattern in vc++code for recognising character pattern in vc++