Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~9K People Reached
Favorite Forums

6 Posted Topics

Member Avatar for hahanottelling

Can anyone help me with displaying text in a C++ window? I've read the chapter 9 at winprog but it makes no sense to me. here's the code I'm using: [code]#include <windows.h> #include "resource.h" /* Declare Windows procedure */ LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM); /* Make the class …

Member Avatar for Nick_3
0
6K
Member Avatar for slaufer

I read this a while back; while not complete documentation, it is very informative. [URL="http://ridiculousfish.com/blog/archives/2010/07/23/will-it-optimize/"]Will is optimize?[/URL]

Member Avatar for hahanottelling
0
116
Member Avatar for hahanottelling

If you want your program to startup automatically when the user logs in, just paste this code into it. To add as a HKLM (For all users) startup item instead of HKCU (Current User), change HKEY_CURRENT_USER to HKEY_LOCAL_MACHINE. I'm posting this because I had a hard time figuring this out …

Member Avatar for WaltP
0
3K
Member Avatar for vesnushka

.docx files are actually zip files, not sure if you knew that... Inside of the zip (docx) files are multiple xml files. If you just want to extract the text, it's fairly easy. You just open the main xml file and strip out/replace all the xml tags. I've done it …

Member Avatar for vesnushka
0
327
Member Avatar for hahanottelling

[CODE]TCHAR exepath[MAX_PATH]; GetModuleFileName(0, exepath, MAX_PATH); HKEY hKey; LONG lnRes = RegOpenKeyEx( HKEY_CURRENT_USER, "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run", 0,KEY_WRITE, &hKey ); if( ERROR_SUCCESS == lnRes ) { lnRes = RegSetValueEx(hKey, "YourProgramsName", 0, REG_SZ, exepath, strlen(exepath)); }[/CODE] To add as a HKLM (For all users) startup item instead of HKCU (Current User), change HKEY_CURRENT_USER to HKEY_LOCAL_MACHINE. …

Member Avatar for cikara21
0
128
Member Avatar for azwraith69

Couldn't you just print a lot of newlines and then move the cursor to the top of the window?

Member Avatar for Ancient Dragon
0
520

The End.