Prevent VK_RETURN from being processed in subclassed edit control.
I have subclassed an Edit control for the purpose of detecting the enter key being pressed then calling a function accordingly. All that part seems to work just fine so far. The problem I am having is...
View Articlehardware ID for PC
i have got hardware id for physic machine by CPU info but when code run on virtual machine , result is same hardware id . My solution by combine UUID and CPU info ,but UUID may be same . because in...
View Article0xC0000005: Access violation at location 0x00000000f41b1a6e on calling...
I am migrating my WIN32 application to WIN64 application. I have compiled the code for x64 platform. While running this application in debug mode I am getting the error message as "First-chance...
View ArticleHow to click an item in listview(Win32/C++)
Dear Experts, I am developing an automation tool(C++) for which I need to write program to Click,Doubleclick on the Listview item by using the Handle of the listview control and index of the item....
View Article[RESOLVED] A little help! WM_PAINT + BMP
Hiho, I just want to put a background image in my app, apparently works well but not, after a few clicks to resize it, my pc slow down, and I do not see the problem or may be my code wrong...accept...
View ArticleHow to add data by Using Function CreateFile(...)
I try to Create one text File By Using CreateFile(..) Function, I want to add data ( x,y,x) coordinate to file By This way : X Y Z 1 3 8 0 13 11 But when I write code I see Data Like this :...
View Articlewinhttp authentication with api key
attempting to program an application that interfaces with an e-commerce site that has a restful api. from what I understand winhttp can do this. but I have no idea where I'm supposed to put the api key...
View ArticleListView_GetItemRect Help
I am new to Windows programming and I am trying to click an item in listview control for that I need to take the rect size of the listview.Can anyone help me regarding ListView_GetItemRect macro. I...
View ArticleIdentify a client in a UDP server
I'm new to UDP so please correct me if I'm wrong. A UDP server doesn't use client SOCKET's (which are unique to every client) in order to receive or send information, but a sockaddr structure (that can...
View ArticleWrong IID_IExtractIcon
Hi, I've implemented IShellFolder and IExtractIcon. In IShellFolder I have the following code Code: STDMETHODIMP CILCShellFolder::GetUIObjectOf(HWND hwndOwner, UINT cidl, PCUITEMID_CHILD_ARRAY apidl,...
View Articlehelp with winUSB
Hi all, I would really really appreciate some help with winUSB. I wasn't sure where else to post this. I wasn't able to find much help on this topic elsewhere. So, if you know of a better place for me...
View ArticleWM_GETMINMAXINFO problem when window is maximized
I want to reduce (by 1 only pixel) the height of a window when it is show maximized. In my window procedure I have the following code in C++: case WM_GETMINMAXINFO: LPMINMAXINFO minmaxinfopunt =...
View ArticleTrackbar Position OnClick
Hello, I'd just like to take a few moments to say how surprised I was to find a "semi"-active forum regarding WinAPI, I got interested in it by reading theForger's WinProg tutorial but I was left...
View ArticleIdentifying physcal USB slot an USB device is attached to
Hi, I have an applicattion in Windows 7 that uses two USB handsets plugged to specific physical external USB slots in a PC (eg: the left side USB slot and the right-side USB slot in a tablet). The...
View Articlereading .pdb debug data
Hi, I am trying to read debug data from a pdb file, specifically the debug data for windows system libraries such as kernel32.dll, where the .pdb was provided by the microsoft symbol store. I have set...
View ArticleOverlapped serial loopback
Hi, I have loopback on my serial port and I am trying to send byte via this port and receive it immediately on the same computer. It has to be done overlapped (asynchronously) to send and receive in...
View Articlewindow on center of screen and fullscreen(on\off)
i have these code for put the window on center of screen: Code: HWND hwndScreen; RECT rectScreen; hwndScreen=GetDesktopWindow (); GetWindowRect(hwndScreen,rectScreen);...
View Articletimers with 1ms of precision
i don't belive that there isn't timers with 1ms of precision, but i can't get any help. and i try search and nothing. please can anyone give me something for start dooing a timer with 1ms of precision?
View Articleweb browser compact 7
hey guys, im trying to develop a webbrowser for my windows embedded compact 7 module. my problem is to embed a browser object to a window. i tried using the iwebbrowser2 interface, but probably im doin...
View Article