Windows Programming (Page 4)

by tec23
Can't change window size in WM_NCCREATE
 
I tried this code in WM_NCCREATE case WM_NCCREATE: { LPCREATESTRUCT lpCs = (LPCREATESTRUCT)lParam;...
[1 reply] : SetWindowPos(hwnd, HWND_TOP, 0, 0, width, height, SWP_NOMOVE); ... (by zoran404)
Programming windows with mfc by Jeff Prosise first example help
 
Hi. Im about to start MFC programming with Visual C++. I choose book "Programming windows with MFC s...
[1 reply] : Just choose "Empty project" in Visual Studio wizard and then add your ... (by modoran)
Programming 2D Games (Book)
 
I was wondering if the book Programming 2D Games - Charles Kelly is a good book to learn how to make...
[10 replies] Last: Thanks guys, i guess ill get started with this book. Any problems ill ... (by MasterGeek)
Text box Validation in MFC
 
I have 3 module name A, B and C in MFC dialog based application. Each module has many text boxes. S...
[no replies]
by vijkrr
wildchartomultibyte issue on applying registry settings.
 
Hi all, In one of my project I need to support UTF-8. Current code is using wcstombs where Chines...
[no replies]
Visual Studio 2013 Error C1083 Error loading type library/DLL
 
Hi all, I am new to MFC, and I have just inherited a MFC project. Apparently they use #import "fi...
[1 reply] : http://msdn.microsoft.com/en-us/library/et4zwx34.aspx looks like it j... (by Esslercuffi)
Visual Studio 2013 error LNK1104: cannot open file 'kernel32.lib'
 
I'm absolutely new to windows programming (and Visual studio). When i try to build any project (VC++...
[10 replies] Last: I just reinstalled VS2013, and all seems fine now. Thanks for the help... (by alterecho)
.net MVC accessing a radio button
 
Hi Everyone, I am trying to access radio buttons from a for each loop in my controller, but I am no...
[1 reply] : I solved it thanks anyway (by Gkneeus)
SDL - Trouble with derivated classes
 
Hi at all! I'm making some kind of game just to learn the SDL library. I made two vectors where I re...
[5 replies] Last: You can, but in your way, you are able to NOT redefine one, and the de... (by EssGeEich)
I have a problem in polymorphism with list STL
 
Please help me with a problem to solutions the polymorphism in this case... I have iterator of clas...
[6 replies] Last: Heeeeey !!! yes ! this is a solution, thaks booradley60 and fcantor... (by rishardcarranza)
IStream System::Object^ question
 
Hi, I did a reference to a DLL and I am trying to use a method that requires a System::Object^ as ...
[4 replies] Last: thank you, let me check the links and I will post back my results. (by amontes65)
by cyneox
GetComputerName Not Returning
 
Hey guys, I am using GetProcAddress to simulate the Virtual Location of a function inside the dll "g...
[3 replies] Last: @ OP: Notice the inclusion of the 'A' at the end of the function name ... (by Computergeek01)
Drag and click events, winapi
 
I have a window which I only use to display an image on screen (something like a splash screen) and ...
[2 replies] Last: Yea, I probably got too used to general subforum that i forgot that th... (by zoran404)
by Erhy
GetMessage with lpMsg NULL, but it works - why?
 
Found a very simple code example which is working, but why? int APIENTRY WinMain( HINSTANCE hIn...
[4 replies] Last: Thank You so much ! I will try to add the hook code in a windows app ... (by Erhy)
launch parameters
 
im trying to make a program launcher but I want the programs to launch with startup parameters. can ...
[1 reply] : You can call http://msdn.microsoft.com/en-us/library/windows/desktop/m... (by codewalker)
Databases
 
as many people know Battleye is known for having an insecure anti-hack. so I am in the middle of try...
[3 replies] Last: This is how to use MySQL on windows (binary and source code available ... (by modoran)
by tec23
How to make static variables not get automatically initialized with 0?
 
I know that if you declare something like this static int number; number will be automatical...
[1 reply] : You have to assign it a value, you cannot change the default from zero... (by kbw)
SFML
 
Alright so i am working on a code for a game and i don't get what i am doing wrong , i am trying to ...
[1 reply] : The error tells me you gave your World class a constructor, but never ... (by Disch)
SYSTEM_POWER_STATUS, BatteryFlag returns 9 when charging.
 
http://msdn.microsoft.com/en-us/library/windows/desktop/aa373232(v=vs.85).aspx if(msg->message == ...
[5 replies] Last: SYSTEM_POWER_STATUS pwr; GetSystemPowerStatus(&pwr); if (pwr.Battery... (by modoran)
Win32 - get the real name of a file
 
Hi, I'm looking for a way to get the real name of a file. I have the following file "C:\MY_fil...
[5 replies] Last: Was in a hurry I apologize for my short answer. Thanks kbw for the sol... (by bernard0833)
Pages: 1234567
  Archived months: [sep2014]

Cannot post in this page. To post a new message, go to the first page.