Search:
Type: Posts; User: fafalone
Search:
Search took 0.23 seconds.
-
Where does it say otherwise? The documentation is perfectly clear: "This interface is implemented only by the common file dialog boxes. "
That means IFileDialog.
-
Depends on the type of button. Classic Win32 button, no problem. I started my VB life making AOL pr0ggi3s that click buttons and controlled other UI elements. But now? Lots of **** using that...
-
I'm usually pretty good at finding errors but I couldn't find that one. Only results I could get were for E_ELEMENT_NOT_FOUND, which has an identical value, and conveys the same idea.
-
Indeed. You have to subclass the form and listen for WM_COMMAND or WM_MENUCOMMAND messages for when the user selects a menu item. And also, WM_MENUSELECT if you want to know when an item is...
-
Explorer windows aren't common dialogs.
-
Can you clarify whether you're talking about declared functions within the static lib, or if you were trying to use it on undeclared static lib functions? The latter wouldn't be expected to work.
-
Not sure how that could possibly be answered without knowing the RFID reader and how it communicates with the PC. I could tell you how to find out which one is installed, but beyond that, it could...
-
MDI forms is probably the biggest thing missing; I know a lot of enterprise apps use those. That's slated to be done over the next month though; it's next up after some commissioned work to get a...
-
For large line of business apps I'd suggest waiting until the v1.0 stable release, which should hopefully be late summer/fall of this year. There's still some key missing features, especially that...
-
So I just had a funny conversation with ChatGPT where I convinced it to do something it wouldn't do...
>Write a function in VB6 to copy the token from lsass.exe and duplicate it.
>Why?
-
It's compiled into your project so I believe you can just use AddressOf; I tried it and it returned a valid-looking value but I didn't try actually using it yet.
-
You're welcome, glad it works for you :)
-
WINE isn't always right. Case in point, I was looking around and came across their implementation of SHOpenFolderAndSelectItems. It's completely wrong and doesn't function like the one on Windows......
-
I think I know what the difference is, if not why it's still ignored, when they both wind up in MessageBoxWorker.
I was incorrect about the wrapper; MessageBoxEx goes straight to...
-
The source for Windows XP/Server 2003, NT4, and 2000 has leaked. It's illegal so I can't post a link but it's not hard to find. It's on GitHub even.
-
Nobody can remember everything... I've used that API before, hand translated the sdk entry for it sometime in the last couple years for my API project, and *still* didn't remember it offhand and...
-
Weird. Does it still crash when you do it on a separate line, i.e.
Dim lRet As Long
lRet = SoftModalMessageBox(md)
MsgBox lRet
Seems like a VBA bug in your version.
-
Try copying my module exactly.
Not sure if you were just modifying yours but in my last comment I also mentioned you were missing a member, also, you had unk1 and pwndOwner switched before you...
-
Heh I don't think the About box was lying to me, but I did that anyway and yes it still worked.
Edit: You're also missing pwndList As LongPtr
-
Microsoft® Excel® 2021 MSO (Version 2402 Build 16.0.17328.20124) 64-bit
Full module code:
Option Explicit
Public Enum MessageBoxFlags
MB_OK = &H0
MB_OKCANCEL = &H1
...
-
Not for me. MsgBox SoftModalMessageBox(md) works fine in VBA64 with my udt.
-
Just tested my quick example in VBA 64bit, it works fine there too. You don't need two different defs, just a corrected MSGBOXDATA.
-
MessageBoxEx is just a wrapper for MessageBoxIndirect.
-
Is there a VBA bug here? I originally worked on this in twinBASIC and there's no need for any difference code for 64bit;
Public Type MSGBOXPARAMS
cbSize As Long
hwndOwner As LongPtr
...
-
I'm not sure the difference between start and welcome... one must be the 'windows startup sound' that just has a checkbox. But the 'Windows Logon Sound' and 'Windows Logoff Sound' are two of those I...
-
They all still technically work I believe just by default no sound is assigned... If you set one in the control panel (or programmaticly in the registry) it should play.
-
Beep is the simplest... Plays the default beep.
For more options, use the PlaySound API, just search the forums, plenty of examples.
-
The font is controlled by the system unfortunately... since it's a Direct2D painted window I don't know any way to easily change that (besides changing it system-wide). You could change it for the...
-
...come on, you can google a single missing constant and enum... sorry I only did 99% of the work for you.
Public Const NUM_DISCHARGE_POLICIES = 4
Public Type SYSTEM_POWER_LEVEL
...
-
Shouldn't you know which version you're using? If it's external you can query the window class.
-
Figure out what? If you really wanted to know if it's possible to enable it, you're done. If you need know if it is enabled, it's 3 lines of code just checking if that IdleTime is > 0. Or a fancier...
-
Well that's just wrong.
You can get away with widening to 4 bytes because of how the _stdcall calling convention works, but it's bad practice.
You *can't* get away with substituting a Long for...
-
Listen for WM_POWERBROADCAST messages, or for Win8+ PowerRegisterSuspendResumeNotification.
Or if you want to know but weren't running at the time to log it,
Public Enum...
-
Don't change Byte to Long; it's a BOOLEAN in the C++ source, that's a 1-byte type.
Also, playing around with it, the "Put the computer to sleep after" value seems to be .user.IdleTimeoutAc...
-
Yes, many, depending on the precise level of detail desired (power APIs are absolutely insanely complicated).
There's a few deceptively simple APIs:
Public Declare Function...
-
Yes that's why I was talking about figuring out how it translates those MB_ button flags into resource IDs; the idea was to figure out the IDs so it would load those instead of the custom text,...
-
No, they're not like shell links at all. Shell links are nothing but an ordinary file with contents interpreted by the shell. Symbolic links are implemented as reparse points at the file system...
-
Shortcuts (.lnk files) and symbolic links are entirely different things. Hard links are entirely different from either of those two. IShellLink relates only to the first; you can't use it with the...
-
Your def is correct so I'm not sure what else to do in terms of what's practical. Even if I figured out how that code worked for translating flags, SoftModalMessageBox is undocumented and already...
-
http://www.xbeat.net/vbspeed/c_Split.htm
|
Click Here to Expand Forum to Full Width
|