Search:
Type: Posts; User: Stevie-O
Search:
Search took 0.46 seconds.
-
It's been done.
In 9x and NT.
http://www.sysinternals.com/regmon.htm
-
It doesn't exist.
The Win9x kernel doesn't support services, so Microsoft threw that API into kernel32 so that it could hide programs that emulated various winNT services from the ctrl+alt+del...
-
I don't think that the OLExxx messages are window messaegs. I believe they are functions that are called directly by the form doing the dragging. There's no way to intercept them.
-
It's not possible. The Win9x "Task Manager" is a joke, and is easy to fool. However, the WinNT (and Win2K; Win2K = WinNT 5.0) Task Manager sees all and cannot be fooled.
-
The fellow with the excess bold is correct.
I once had to do this VERY THING for a Doom->Hexen conversion program I wrote in C once. To convert teleporters, I needed to find out which sector the...
-
Actually, the :, along with many other oddities of VB are remnants of the original BASIC language (such as the 'Let' statement). I remember when I first started programming in GW-BASIC. GW-BASIC...
-
Changing the HD serial # is simply a matter of doing some low-level calls to directly access a sector on the hard disk. I don't know how to do it, but I'm quite certain that it's possible, because...
-
erm...of course the Windows API did let you down.
You broke the API contract.
This is the proper declaration for the inet_ntoa function:
char FAR * inet_ntoa(struct in_addr in);
This is...
-
To ASSIGN an object variable, you have to use Set:
Public property get class1(ByVal seqnum As Integer) As class1type
Set class1 = class2Obj.class1Col.Item(seqnum)
End Function
-
Because hLock is only 4 bytes in size.
-
I don't know about VB5, but I've found that in VB6, inside the Terminate event, the form has already been destroyed, along with the object representing it.
Private Sub form_terminate()
Set...
-
>> I've placed the call in my Form_Load, and it doesn't
work. It begins initially on top, but NOT permanently,
ther widows are allowed to be placed over it. I have even
ncluded the flag......
-
Well, I know it's possible to simulate Ctrl+Alt+Del, because PCAnywhere can do it.
-
Also...use SetCapture in the MouseDown event and ReleaseCapture in the MouseUp event, so that you keep getting the MouseMove events while the user drags.
-
GetActiveWindow
The GetActiveWindow function retrieves the window handle to the active window attached to the calling thread's message queue.
HWND GetActiveWindow(VOID);
Parameters
This...
-
[1] Well, to answer your *last* question, class name is usually good, unless you're working with a program written in VB (they all have the same classes)
[2] I've never heard of "DLL...
-
When I do this:
Dim X as ISomeInterface
Set X = Me
I know that X is a pointer, but what does it point to? I know that there's a vtable involved, and I know what that's like. But I'm passing X...
-
What do you mean 'the' top-level window? As you said yourself, they're all top-level windows.
-
Yeah, that's exactly what I'm talking about...the little things that drive you nuts when you realize you can't do them. If I use API I can change the border style - why not with VB?
-
I'm trying to get an idea of how most people would like to change VB's intrinsic controls (i.e. Form, MDI Form, Usercontrol, Menu, ListBox, ComboBox, etc.). There are many class modules out there...
-
If you read any documentation (i.e. MSDN) or any of the various tutorials floating around, you'll learn that CreateToolhelp32Snapshot() and its friends don't exist in the Windows NT kernel. I...
-
Cool, thanks...but how do I make it disappear when it loses focus?
-
usercontrol? I'm not using a usercontrol. Usercontrols are restricted to their parents' client area, so if I made a usercontrol and made it bigger, the bottom and right sides would just be cut off....
-
Okay...so how do I go about doing this myself? What are this windows' styles? What is its parent window? etc. etc.
-
I have a program, I'll call it 'SS'. SS stores its information in a database. I'm developing an administration program to create databases for SS to use. I need to let the user choose where the...
-
Search MSDN for Knowledge Base article #Q192689. I don't know the URL, since I have the MSDN CDs.
-
To find out what message a menu item sends is easy, and you don't need any subclassing. Use Spy++ to spy on the window's messages and see what parameters are sent with the menu's WM_COMMAND message....
-
Okay... first things first.
The keyboard speed is actually determined by a chip inside the keyboard - you can see this by unplugging your keyboard and plugging it back in. Unplugging it causes...
-
The above tip won't work - because you're running Windows NT. Windows NT, as a security measure, demands that programs explicitly request access to shut down the machine - if this is not done, the...
-
This is simply not possible. Try unplugging your keyboard and starting your computer - it'll beep and say "Keyboard error - press F1 to continue." (Some BIOSes are smart and prepend "Keyboard not...
-
Foreign language? I didn't even know fish could talk!
-
Rule #1 for y'all: Win32 API functions all have Long parameters, and return Long values. If anybody here remembers doing API in VB 3.0, they know that the 16-bit SendMessage() function had an...
-
Yeah...why do you people always try to launch IE via Shell and ShellExecute calls? Use the WebBrowser control, it gives you full control over the window produced.
-
It's possible to create a transparent control.
However, due to Microsoft's bumbling, there's one big restriction: you can't move it around.
This means making transparent areas on anything that...
-
As all messages over &H0400& are in the WM_USER range (i.e. application-defined), I'd love to see that example.
Incidentally, why are you drawing your own menu?
-
The other problem with using that code is that it ONLY works in Windows NT (not even 2000).
-
Erm...you'll need to be a LOT more specific as to just what you want...
-
I believe it is WM_NCPAINT.
-
Haha, I expected to get a few complaints...
The 6th arg to BreakUpImage was 8 because I was messing around testing it and never set it back ;)
I know that I omitted the DeleteDC declaration and...
-
API calls are fun =)
Rule #2 of good programming: *NEVER* use weird constants like &HC0EDBABE&, always use a constant name.
(Rule #1 is don't program in VB... just kidding!)
A helpful...
|
Click Here to Expand Forum to Full Width
|