Visit Experts Exchange from your mobile device to search, ask, and monitor your questions. Never lose touch again.

Preview From Your Desktop
 

Having problems asking a question? Have a general question about Experts Exchange? Let us know!

 
Time Tested Windows MFC Solutions: 151 - 175 of 3296
 
I have a code similiar to the one mentioned below. the 2nd parameter to mbstowcs() function is const short*. Here getstring() returned cstring objects[ temparary object]  reference has been...
    HBITMAP     hBitmap;      hBitmap = (HBITMAP)LoadImage(NULL, "c:\\1.bmp", IMAGE_BITMAP, 0, 0,   LR_LOADFROMFILE | LR_CREATEDIBSECTION | LR_DEFAULTSIZE); m_Picture.SetBitmap(hBitmap); i use above...
How can I convert a data of CString type into int in EVC?
I have a CTreeCtrl derivative I have placed within a CDialogBar. I place the CTreeCtrl over a Tab Control that is also on the CDialogBar in such a way that the tabs are all visible, and it app...
Happy New Year to one and All. Guys I am having a few problems with the ::CreateThread API function.   Basically, I wish to pass the address of a structure in the fourth parameter of Cre...
what is the difference between BOOL (TRUE, FALSE) and bool (true, false). which to use ? when ? can it be mixed ?
Hi, I have a simple task. I want to display a modal dialog invisibly. User will not be able to see/click on the OK/Cancel button. And some events will call EndDialog so the app will not hang. ...
I often declare/define an Empty() member function for my classes, to make sure it's in a known state with all held resources released. I call this Empty() member in my constructors and des...
I wish to change the color of the textof a radio button when the mouse is aronud it. I catch the WM_MOUSEMOVE and then I set focus on the button. yet I can't find the way to change the butto...
I want to draw concentric circle with hatching inside the ring structure. I mean to say, I can draw concentric circle with hatching inside the circle but i want hatching only the area betwe...
Is there someway to play MP3 audio files from a visual c++/mfc application.  How about with with DirectX?
I am a new MFC programmer ussing ODBC. the DBMS i'm using is MS Access. Can anyone help with clearly outlined steps and example code to add data from my application into the database using the...
When I programmatically check a radio button as described here: http://www.experts-exchange.com/Programming/System/Windows__Programming/MFC/Q_23119601.html It crashes in Debug mode but n...
I have a MDI app which has two different menus.  One menu is shown on the CMainFrame when I first start the application, and the other menu is shown when I go to File->New.  Now the second men...
How must I proceed to change the font of a CEdit control ?
I have a dialog box where the user enters a string for a directory name. I need to check to see if the string is valid for a windows directory before it is created, such as it is not past the...
I want to minimize an MFC dialog at some point of my program and I want it to stay minimized at all times until the end of the program.  The dialog can't be visible except on the taskbar.  Whe...
I create a ATL dialog and put a pitcure control, IDC_TESTICON. I try to put system icon in this pitcure control but nothing changed. Do I miss something?
I have a stereo image processing application using direct x and direct show. Nothing wrong in that framework. I am trying to incorporate an MLP neural network into the application. The neural ...
Ah hello. This seems like it should have a simple solution, but I cannot find it.  I have a single TCHAR, obtained from CString::GetAt.  I need to convert it to an integer. I cannot use ...
How to convert from CImage to HBITMAP? CImage image; HRESULT sc=image.Load(stringload); HBITMAP hbmp=image.Detach(); This doesn't work! Any solution to this is very welcomed! The op...
Hi there, Is there anyway I can tokenize a cstring in VC++? For example, if I have this cstring "356,days,12,months,52,weeks" Is there any way I could get back string1 = 356 string2 =...
Dear all, my application executes successfully when built in Debug mode, however, execution of the Release build generates Access Violation messages e.g. "Unhandled exception in Fixed Assets.e...
Hello...I'm trying to save an image that I captured to the clipboard to a bitmap image. and i've been unable to do so....I can open MS Paint and paste to save my image (Therefore I can confirm...
I have tried to do the following TRY {  BOOL *pBool = NULL;  *(pBool) = TRUE; } CATCH( CException, e) {  ::MessageBox(print a message blabla); } END_CATCH But the exception is neve...