I have a windows program with directx/opengl renderers, and a custom mouse rendered as a quad. The program currently runs windowed.
The problem is the standard windows mouse is overlaid ontop of my custom cursor. How do I hide it when its inside my window?
...
I have a window which can be resized, but there are some situations when resizing is not possible because of the application state. Is there a way to prevent resizing the window temporarily?
I want to disable resizing by all means available to the users, which include window menu, dragging edges by mouse, user initiated window tiling pe...
I need to render fonts into a 3d game world, so I use the GetGlyphOutline outline function to get the glyph shapes to render into a texture. However, I want to be able to handle the case where characters are not present in the given font (as is often the case for asian other other international text). Windows text rendering will automati...
The task is to validate an US phone number. Checking format of the number is not enough.
So I should make a call to the number and determine if the subscriber answers.
Is it possible to automate it using VOIP solutions?
Please, suggest any ideas to start with.
I'm going to implement it on Windows platform (probably .NET or Java). It c...
Hi,
I'm creating a process and making a lot of kernel objects requisition to the system. My code is that:
int main(){
//Cria processo para o Data Viewer Unit
LPSTARTUPINFOA si;
PROCESS_INFORMATION pi;
// Start the child process.
if(!CreateProcessA(
"E:\\Documents\\Faculdade\\Matérias\\Automação em Tempo R...
We need to ensure that a Windows app that we make (which includes Office plugins) works right when installed in a Roaming Profile environment. Can anyone supply procedures, or a pointer to procedures, for
Setting up a test AD domain for use in testing with roaming profiles
testing
The fact that we've got Office plugins implies, of c...
I am using a SaveFileDialog and have to set long string(longFileName) in FileName. String longFileName is known at Runtime.
If I set
saveFileDialog.FileName = longFileName ;
then I get System.IO.PathTooLongException.
How can I do it?
...
When i try the following in java
System.out.println(System.getProperty("file.encoding"));
i get cp1252 as the encoding
Is there a way to know where this value is coming from ? (Like Environment variables or something)
I would like to print the value of encoding on command prompt using some command like systeminfo on windows xp.
...
Related:
How to add new items to right-click event on Folders and Files in Windows?
I added custom right-click verb to all files by adding registry keys to HKEY_CLASSES_ROOT\*.
End result looks like this
HKEY_CLASSES_ROOT*\Shell\TestRightClick\Command
-------Default = c:\RightClickTest.exe "%1"
Problem: when selecting multip...
I'm using the built-in javascript debugger in Safari 4 on Windows (the WebKit Web Inspector), but when I'm stepping through code I keep getting the "Slow Script" dialog pestering me to abort/continue the script every few seconds. This is irritating.
Is there a way to turn this off or otherwise prevent it from prompting me every few seco...
I'm considering using Flash as the UI of a native Windows app, for several reasons, but before I dive in and start building, I figured I'd poll the community to find out whether anyone's got any good examples of this particular approach out there today, just to prove the concept satisfactorily.
So I guess that's pretty much the question...
i have a pyqt project which i'm interested in using to play around with the new windows 7 jump list feature. after a bunch of searching, i have not found any specific examples of anyone creating jumplists via python.
has anyone here found an easy way to hook into this? does mark hammond's pywin32 module have an appropriate wrapper?
t...
Im trying to get my feet wet with some WSH. I thought it was going to be easy, but it's really a nightmare...
contents of registry.js >
Set shell = WScript.CreateObject('WScript.Shell');
strRegValue = 'HKLM/Software/Microsoft/Windows/CurrentVersion/ProductID';
strPID = shell.RegRead(strRegValue);
WScript.Echo strPID;
This is ...
I used distutils to install my python package, with this setup.py :
import distutils.core
args = {
'name' : 'plugh',
'version' : '1.0',
'scripts' : [ "scripts/plugh" ],
'packages': [ "plugh" ],
}
d = distutils.core.setup(
**args
)
On linux/mac, it works as expected:
% plugh
hel...
please tell me how to draw any shape (a small square e.g)
using visual studio 2010 with the c++ language ?
PUT THEM STEP BY STEP PLEASE
I don't know what type of file i have to choose nor how to check it out
...
I found a thread on the Microsoft Forums where the answer tells how to set directory permissions using the LockPermission table. I tried it, but it doesn't seem to set the inheritance for any of the subdirectories. I need to be able to set the permissions for a particular folder that I create and have those permissions be inherited by al...
Hi,
I have Windows 7 pro at work. my problem is i keep on forgetting to clock in/clock out (using the intranet timesheet system). is there a way to run a script or command to automatically open the timesheet page each time i lock/unlock my station?
tyvm.
...
Group policy prevents several configuration settings on my Windows 7 / Vista machines. Since my domain account is a member of the local Administrators group on these boxes, is there still a way to override them locally?
For instance, GP prevents changing the power management option "Turn off the display" (even changing it from cmd fails...
Just wondering what's out there that everyone likes. I have to merge some changes among several developers (C#) and wanted to see what kind of alternatives to windiff are around.
...
Hi ,
I have created a .net 2.0 windows application. This application creates form controls dynamically. Now when I am trying to run the application, it is throwing an exception "Error in creating windows handle". After this, application gets hang and nothing happens. At the first time, form gets displayed properly. On a particular event ...