Windows Programming (Page 4)

by Hex213
Active user
 
Please, I need to get what is the active user with win32 and show me some example. Thanks.
[1 reply] : Look here: https://msdn.microsoft.com/en-us/library/windows/desktop/m... (by coder777)
How to detect selected text or file?
 
Can anyone tell me how to detect selected text or file? Do i have to install any library? For exampl...
[5 replies] Last: if (cin >> SendMessage(hEdit, EMGETSEL, (WPARAM)&thestart, (WLPARAM)&... (by Thomas1965)
How do you find when a user presses 'H'?
 
I'm using Win32 and want it to create a MessageBox when a user presses 'H'. How do I do this?
[2 replies] Last: You need to handle WM_CHAR messages in your Window Procedure. The cha... (by freddie1)
SDL - How to keyboard input
 
How can i declare SDLK_LCTRL and SDL_RCTRL + an character? Can i write like this: char character;...
[14 replies] Last: are you are saying it still says state is not defined? you need to hel... (by Moooce)
by V07
Could you please explain me the difference?
 
Hi everyone, I am a beginner in windows programming.Since I am self learning with a book...
[6 replies] Last: Don't know CoderJames. I don't work with networked stuff much, so you... (by freddie1)
Multithreading: simultaneous read/write?
 
I'm rewriting a console app to include a GUI. The original was single-threaded, so this inevitably i...
[1 reply] : To ensure that the pointer is valid across the threads make the pointe... (by coder777)
a dll export potential error?
 
I exported an dll of a class inherited from std::string. I used it in another project, but there is...
[1 reply] : The problem is that you need to use dllimport in your other project.... (by coder777)
Converting [SHIFT] + [NUM] to punctuation mark
 
I'm using SetWindowsHookEx and WH_KEYBOARD_LL to capture keyboard input. I have my code running f...
[1 reply] : Not to worry, solved it. BYTE keyState = {0}; bool keyStateResult ... (by CoderJames)
by Hex213
Folder in folder
 
Please, Can to find out whether in the folder is another folder or hidden files? And to find out his...
[1 reply] : _findfirst is what you want. https://msdn.microsoft.com/en-us/library/... (by Thomas1965)
Loop runs just once
 
#include <iostream> using namespace std; int main() { char character; int it; if ...
[4 replies] Last: http://www.cplusplus.com/forum/windows/182433/ I answered it here... ... (by eldinhelja)
Missing VCRUNTIME140.dll
 
I have two HP laptops run 64-bit Win 7. Formerly, apps that I built under VS 2010 Express would run...
[2 replies] Last: [quote=rwhoech]an internet search for VCRUNTIME140.dll came up empty. ... (by FurryGuy)
Do i have to use pointers to transfer values?
 
Do i have to use pointers to transfer values? from character to input. -> line 13 and 19. Also how c...
[2 replies] Last: I don't know is this what are you trying to achieve ? If you want to... (by eldinhelja)
by evaboy
Help: Dialog not working
 
l want to make a program using MSVC++ 2010. The code compiles and the code before the dialog procedu...
[1 reply] : l just got an answer which is to add L to the strings in the resource ... (by evaboy)
by Kande
configure the TCP retrasmission time interval of lost packets
 
I want to configure the TCP re transmission time interval of lost packets. Currently when I have ...
[1 reply] : You need to reduce the time that interval of lost re-transmitted packe... (by andrewllewop)
Installing SDL with Visual Studio
 
Hi i just installed Visual Studio and tried everything to install SDL library as i watched a video t...
[11 replies] Last: @leardfalziu: whenever using the include header for files that you hav... (by andrewllewop)
School assignement (Addition in all possibilites)
 
Hello, I have an assignement and I cant figure it out how to do it. In my head I only get infinite...
[5 replies] Last: My Variables : ---- f - First number (10) s - Second number (15) ... (by eldinhelja)
Cashier program
 
How to get the sum number from total column? For example first loop total=100, sum=100 second loop t...
[5 replies] Last: @Chervil thanks for #include <iomanip> i want to set precision aft... (by leardfalziu)
Lottery code won't stop!
 
#include<iostream> #include<string> #include<ctime> using namespace std; int main() { i...
[1 reply] : Highlight your code and on the right hand side you should see Format:... (by MattBess)
by evaboy
MSVC++2010 Resource Compiler Error
 
l wanted to create an app and l edited the .rc file but on compilation l got errors. And l need help...
[5 replies] Last: how did your reply to my post get posted ahead of it? curiouser and c... (by cire)
Connecting to MySQL DB
 
Hey all, I'm relatively new to connecting to DB. I was able to successfully accomplish this task bu...
[1 reply] : If you want to get the count of matching rows use "select count(*) fro... (by naraku9333)
Pages: 12345
  Archived months: [dec2015]

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