I have small problem in Visual c++ in creating a dialogbox named as Aboutbox,
this is a second dialogbox in my application ,
when i creat the this dialogbox but the following code does not appear in the implementfile.cpp
Should i include myself or Is there another way to do this .
I am trying to draw two circles, which are overlapping . My problem is that the second circle is hiding the first one partially. I want to see both circles completely. Can somebody guide me what parameter should I tweak?
I am using mysql_query for create a table in mysql.In normal it's working fine.When i put some wrong column name that mysql_query show execute.But in real condition mysql_query not execute or cursor jump into catch.Here is code
I have quite a strange problem. My program is based on MFC dialog but modeless. It starts hidden and creates a tray icon. The user can exit it in two ways: if the program is visible the user can press the exit button; if the program is not visible the user can right click on the tray icon and press exit. Both of these message handle routines call CWnd::DestryWindow which calls my OnDestroy which calls Shell_NotifyIcon( NIM_DELETE, ... ). On XP and 7 everything works fine but on Vista when the app is exiting through the tray icon message handler the call to Shell_NotifyIcon( NIM_DELETE, ... ) returns FALSE with GetLastError() returning 0. The result is that the icon does not disappear with the exiting of the app but only when the tray bar is refreshed (the mouse goes over it).