In C++ using Windows32 using windows socket library using UDP is there a way to give a client routing information to another client to establish a connection between clients without having to route through the server
Clarification:
server - waits for computers and gives routing info - a detached server
client - sends a ack request and ...
As documented:
"If not all tabs can be shown at once, the tab control displays an up-down control so that the user can scroll additional tabs into view."
http://msdn.microsoft.com/en-us/library/bb760550%28VS.85%29.aspx
I don't want this. I don't want an up down control to show if I have too many and I don't want multiline tabs. I...
A very simple test case:
procedure TForm3.btnCopyClick(Sender: TObject);
begin
HotKey2.HotKey := HotKey1.HotKey;
end;
Press "PgDn" key in the first THotKey and "Page Down" is displayed. Click the ==> button and the second THotKey will display "Num 3".
Similar things happen if modifiers (Shift etc) are pressed. The behaviour also...
Dear all
How can i get volume name for drive letter
example: how can i get volume name for G:/
Thank you for any help
...
I am currently in process of making our application Large Address Aware. As experience has shown, there are some unexpected gotchas when doing so. I create this post to make a complete list of steps which need to be taken.
The development considerations listed in the AMD Large Address Aware guide provide a good starting point, but are b...
Hi
How does one programmatically create a UNC share from a known directory?
How does one revoke it programmatically?
I don't want the user to fiddle with the Share dialog. Additional info such as changing the share name, comment, user limit is also welcomed.
Thanks
SoulBlade
(Using Delphi 7)
...
Dear all
How can i get device name for drive letter
example: how can i get device name for G:/
Thank you for any help
...
I want to be able to know how much room a particular tab takes up, is there a way to calculate this knowing it's text and having its item struct?
Thanks
...
Hello, so i read a tutorial saying it is not worth it to memorize the windows API template. Do you as programmers memorize the template or just create one from the wizard? also does anyone know a good web source to learn windows programming better? theForger's is okay but more of a reference guide than a learning source
...
I have a binary application on windows (train timetable software) which contains a lot of interresting data which I need for my project (nothing illegal, just some weird optimization algorithm). But the application has no api and the data files have undocumented binary form.
So my idea is to control the application from my own code. I w...
My question is related to "Turn off buffering in pipe" albeit concerning Windows rather than Unix.
I'm writing a Make clone and to stop parallel processes from thrashing each others' console output I've redirected the output to pipes (as described in here) on which I can do any filtering I want. Unfortunately long-running processes now ...
I have a window that's a CHILD window of another window. For reasons beyond me, NC_HITTEST never gets called on it, no mouse events are called for it (but rather reach its parent window).
Why is that? I want that child window to process his own mouse clicks.
...
I'm using a Win32 Header. I want to make it so that the header item I click on stays 'selected' or looks selected until I press another one. I want to avoid disabling it for aesthetic reasons.
Thanks
...
I looked at some other questions on SO and its not clear if c is built on top of, under, or alongside the WINAPI. Like for example could someone write something in pure c that was able to open a window, or would they need to use the windows api?
I noticed similarities between the c (library?) version of opening a file (fopen) vs the w...
I want to make a control where the bottom is nice and beveled as seen here:
http://img19.imageshack.us/f/finalzh.png/
What style must I add to my control to achieve the same look as this?
Thanks
...
By default tabs get added from right to left, so if I insert 1,2,3,4,5 then the tabs will read 5,4,3,2,1. How can I make it read 1,2,3,4,5 thanks.
http://img96.imageshack.us/i/ahhh.png/
This is obtained from inserting Untitled Project first and Untitled 5 last.
What I would want would be for Untitled 5 to be selected at the far right ...
How could I create a control that looks like this one:
I just want that small end.
Thanks
...
I noticed that Snipping Tool (On Windows Vista / 7) has a Toolbar control. I'v used Spy++ and copied its exact styles but when I press down, it does not do like theirs. Theirs stays stuck on the clicked control, indicating that this tool is 'in use' I want to have this effect in my application.
Thanks
...
Here is what I'm doing. I'v created a combobox but I'm not using it for that. When I click it, it calls trackpopup and brings up a context menu. However after I'v clicked the context menu, I'd like it to close the combobox in the same way it would if you clicked anywhere (killing the focus) or selected an item from the combobox.
Here's ...
Hello all,
Is there a way to make combobox be dropping up instead of down?
Regards,
...