What windows message or event can i listen to in order to stop a window from being redrawing every pixel of it's resize?
That is, when a user clicks on the edge of the window and starts to re-size it, i don't want to re-draw the entire contents until he lets go. This is because for some reason it's currently choppy at resizing probably...
pscp -r ../mydir/ [email protected]:/var/www/html/xxx/
copies everything under mydir, is there a way to exclude one subdirectory under mydir?
...
I am dealing with Windows here.
I know you can use the $_SERVER['HTTP_USER_AGENT'] variable to detect the OS of the browser viewing the page, but is the any way that PHP can detect the server's OS?
For my program's UI I am using a php webpage. I need to read a key in the registry that is in a different location on a 64-bit OS (It is u...
When creating a window using CreateWindow(...), which requires the window width and height, I have to enter the values 656 and 516, instead of 640 and 480, so as to account for the windows border.
I'm wondering if there is a way to create a window based only on the portion of the window not including the border, especially considering t...
How can I make the program verify if it's already on the targeted locations, and if not, move itself to another location?
...
I'm a Mac user and programmer. I mostly do back-end stuff, but recently, I've need to do some front-end tasks and need to test sites on PCs as well. So I'm looking for a PC just to test the look of sites in IE. Nothing fancy
Any suggestions?
...
keybd_event(VK_SNAPSHOT, 0x45, KEYEVENTF_EXTENDEDKEY, 0);
keybd_event(VK_SNAPSHOT, 0x45, KEYEVENTF_EXTENDEDKEY | KEYEVENTF_KEYUP, 0);
HBITMAP h;
OpenClipboard(NULL);
h = (HBITMAP)GetClipboardData(CF_BITMAP);
CloseClipboard();
...
normally this works well.
but if the foreground window changes and locks the clipboard then it can't open ...
Hi all,
I need to read the serial port from windows, using either Python or C++. What API/Library should I use? Can you direct me to a tutorial? Thanks!
...
I need to be able to set an icon on a ToolStripStatusLabel item in a C# Windows Forms application. The item will being displaying an image and text. I assumed that I could use an Icon with such an item but I am mistaken. What is the best way of creating an Image object from an existing Icon object?
the intended code will look something ...
Hi all,
Since I'm very new to SSL certificates, and the creation and usage of them I figured maybe StackOverflow members can help me out.
I'm from Holland, the common way of online payments is by implementing iDEAL. An online payment protocol supported by the major banks. I have to implement a 'professional' version. This includes crea...
the context
i use Spooler Events API to capture events generated by the spooler when a user prints a document ie.
FindFirstPrinterChangeNotification
FindNextPrinterChangeNotification
the problem
When I print a document on the network printers from my machine no events are captured by the monitor (uses the fuctions above)
Notice
E...
Hi,
I'm trying to create a Windows-compatible icon using a pixel buffer. The Surface class loads an image and saves it as an unsigned int array internally (0xRRGGBB).
I'm trying to create an icon like so:
Surface m_Test("Data/Interface/CursorTest.png");
HICON result = CreateIconFromResourceEx( (PBYTE)m_Test.GetBuffer(),
...
Is there a way to authenticate users in symfony apps using Active Directory? Can you please point out some documentation?
edit
What i need is to have a transparent login in my application. The user authenticates once at windows logon, then all applications should be accessed with the same credentials without being asked for the domain\...
Hello,
Is there any way to uniquely identify controls using Accessibility? Once control is identified - I should be able to get its current position on screen (rectangle).
Tried to do this with IAccIdentity, but don't know what to do with that string of bytes which it returns - is there any way I can extract necessary information from i...
I have noticed a huge performance hit in one of my projects when logging is enabled for the first time. But when the log file limit is reached and the program starts writing to the beginning of the file again, the logging speed is much faster (about 50% faster). It's normal to set the log file size to hundreds of MBs.
Most download mana...
I would like to run a browser (Internet Explorer) from a command prompt using a specific web address. As a result of that I would like to see a simple IE window without toolbars and address line. I wonder if JavaScript is able to control "parameters" of windows in which it is loaded. I mean, I want to add some JavaScript into my HTML cod...
some of my code was failing in x64, I start digging and this is due to some code that calls native stuff via Runtime.getRuntime().exec()...
But this code is probably some years old, it does not take into account newer OS, and some of the code looks like this:
String osName = System.getProperty("os.name");
if (osName.equals("Windows...
i'm not certain i'll find an answer but i'd thought this would make for a good brain teaser and or be an enlightening experience or disappointment lol... basically, i need to bat an idea around...
Can i write a function for an asp page that will query my Mac OS X server while using its Spotlight feature?
when you're using a Mac to sear...
I have a double click event for a notify icon that will bring up my main form. The double click event isnt firing. Even if I put a breakpoint in the code it never gets executed. Here is what I have so far:
Private Sub Form1_FormClosing(ByVal sender As Object, ByVal e As FormClosingEventArgs) Handles Me.FormClosing
Me.WindowState =...
I know that shutdown -a will abort a Windows shutdown, but I need to know if there is anything any where I can check for to see if a shutdown is in progress.
Ideally, I'd like a small program like this:
import os
while True:
shuttingDown = <shutdown variable to check>
if shuttingDown:
os.system("shutdown.exe -a")
...