How to determine if a Metro app is currently displayed on the screen?
I'm trying to determine (from my Win32 process) if a Metro (or a Modern UI) app is currently displayed on the screen. I found the IAppVisibility::GetAppVisibilityOnMonitor method that can do just that,...
View ArticleHash Table Problems
I'm hoping to get some help with a few things for this homework assignment. I have included the assignment requirements below along with the my code so far. I am having trouble getting the cout...
View ArticleModeless CDialog and OnPaint() : something crazy !
I have a main window which creates a modeless CDialog. If I handle the WM_PAINT message in the modeless CDIalog then it's OnPaint() method is called continously and blocks the main window from...
View ArticleNumber of hardware processors (cores)
Hi guys. This is way out of my league but I thought someone here might have some ideas... Apparently there are various methods (GetSystemInfo() / GetLogicalProcessorInfoEx() etc) which can return the...
View Articleerror C2371: 'BOOKMARK' : redefinition; different basic types
error C2371: 'BOOKMARK' : redefinition; different basic types C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\mapidefs.h 1142 When I Build 64 bit dll then gets above error. I used two approach in...
View ArticleHow to skip compile Windows sdk header file?
Examples: "sql.h" header file how to skip compile in vs 2008 ?
View ArticleIs it possible to retrieve Window Proc in process running in other user?
I am encoutering a problem on retrieving the Window Proc of a window that running in a process with another user. For example, I have logon windows with domain\user1, and run the following command as:...
View ArticleHow would you approach this?
Hello there! I'm sure some of you have seen the Iron Man films by now, if not they are awesome you should watch them.. anyways to the point.. I'm starting a new project, yes I want to program my own...
View ArticleGet the cursor position for picture control with scroll bar
Hi, I was loaded a bitmap using this code. I'm using mousemove method to known the Dialog's mouse move position & get the RGB pixel. I want to get the picture contol's mouse move position &...
View ArticleC++ pointers problem
Guys Help Me To Solve these problems.... Code: Write A Program which converts a string of uppercase letters into its corresponding lowercase.Using pointers to access the members of the Array. Code:...
View ArticleTabbed dialog
I have a tabbed dialog with a couple of Separate dialogs. I created classes of CDialog for each dialog. Im trying to get the text from the edit control from the tabbed dialog and it appears in a...
View ArticleArg! I cannot hide this MFC to save my life!
http://read.pudn.com/downloads125/so...mple.cpp__.htm That is the code.. I have tried ALL sorts of stuff... For HOURS... Please help. Oddly enough I have commented out CreateWindow, and the window...
View ArticleC++ pow() limit loop [URGENT]
Hi, I'm super super new to C++. I need help with my code about limiting the pow(base, exponent) to a given value by using a while or for loop. The values are given by the user. Ex: Base = 2 Exponent =...
View Articlesystem() fails to parse argument
I have a very strange problem with the system() function (on XP). I have the following code: Code: char *text1 = "\"A Space\\Action.bat\" fred"; char *text2 = "\"A Space\\Action.bat\" \"fred\""; int...
View ArticleProblem with MainFrame.cpp
Hi, Sorry I cant see the text on the icons above this text box. I am trying to execute a tutorial code which I got from: http://msdn.microsoft.com/en-us/library/gg466500.aspx However, i cant perform...
View ArticleCant make the maze work correctly with arrays
I have to make a maze with arrays, but i cant seem to move down or up or at all. Any help would be greatly appreciated. Here is what I have so far #include <iostream> #include <string>...
View ArticleDrag from my app to others?
I have a batch type application with two lists. The top one is the list of files to be processed and the bottom one is the list of the output files. (with some other status info) I would like the...
View ArticleInstalling VS_ultimate
Hi, I tried to download VS 2010. I went to the site: http://ms-visual-studio.joydownload....FTQQtAodQ1kAgw and it downloaded an executable: vs_ultimate_download When i ran it, it downloaded some stuff:...
View Article[RESOLVED] CMFCToolBar issue: Can't change title?
Visual Studio 2013. C++. Created a blank, SDI MFC app. I added a new CMFCToolBar (by hand, didn't use a wizard) It docks OK. The commands work OK. It renders OK. No problems there. In the code,...
View ArticleDoes CreateDIBSection() Allocate Memory for *ppvBits?
http://msdn.microsoft.com/en-us/libr...(v=vs.85).aspx The page above said "If hSection is NULL, the system allocates memory for the DIB." Is the allocated memory stored via *ppvBits? Thanks. Brian
View Article