Search:
Type: Posts; User: Elroy
Search:
Search took 0.04 seconds.
-
... and people jump on me for making sure my large application is always portable ...
-
I still use the standard message box, but I virtually always use API calls to display it so I can control my button captions, put timers on it, and a few other things. I've never needed a "roll my...
-
Personally, I've never been able to get this to work (correct numbering) with EnumDisplayMonitors. However, I haven't examined the order in which the monitors are returned by the WMI. Maybe they're...
-
Yeah, I completely agree with that, both aspects of it. For me, especially when starting some new little project that I think is going to be fairly trivial. For those projects, I often don't pay...
-
I tend to keep my constants close to whatever functionality is using them. Now sure, I've got a few globally used constant, but even then, they're kept close to similar functionality. As a good...
-
Hmm, ok, maybe you're onto something. I'm still not sure that gets you all the way to the EDID information (if available). But it might.
-
Yeah, I have never found a bullet-proof way to match this WMI information (nor registry information) with specific monitor handles (via EnumDisplayMonitors).
If someone figures this out, that'd be...
-
Yes, I was quite aware of those distinctions. However, many VB6 functions just say "number" or "expression" for their input arguments. And, when tested, they work equally well with a variety of...
-
-
Oookkkk. :) Good to know. So, for a simplistic function, there's going to be more overhead the more complex it gets .... Private vs Friend vs Public, in BAS vs Class.
But, for an involved...
-
Trick, you just mean the one extra jump through the vTable, correct? Once we get into the compiled procedure, it should all be the same, right?
-
Goodness no. I've started out many "quickie" projects that way. However, quite often, they turn into a somewhat larger project, and I'm quite soon breaking that "utils" module up into more...
-
Why not learn VB6? Or maybe VBA if it's something we're trying to teach to users.
This seems like a point you should be making: And why would we target VB6 as our output language rather than...
-
SDO, you say that you're wanting custom controls, but with subclassing, it makes your code difficult to debug.
An easy solution is to just get this subclassing control going like you want, and...
-
The primary thing that I'd like is sub-folders under each module type in the Project window. However, I've sort of already done that with the way I name my modules (particularly BAS modules), and I...
-
I'm still clueless as to why you want a C#-to-VB6 transcompiler.
-
Yes, Techgnome about covered it. Again, it's really more about organization of your source code than anything to do with compiler or speed issues. And also remembering that duplicate code in your...
-
I'm as big a fan of VB6 as there is. But why in the world would anybody attempt to write a C#-to-VB6 transcompiler?
-
Truth be told, I agree with Dil. To me, even the title of this thread doesn't make sense. It's like asking for a comparison of Egypt and the Pacific Ocean ... just not the same thing at all.
...
-
To my way of thinking, a Variant is an intrinsic type (but I suppose that depends on your definition of "intrinsic type"). It's certainly not an object, other than the fact that it might contain a...
-
"SP3"??? Upgrade to "SP6". I've never heard of a single reason not to, and all the prior Service Packs have bugs. SP6 has bugs, but far fewer than some of the prior ones, and it's the one we're...
-
Ahhh, I did this years ago. Changing the mean and/or standard deviation doesn't change the correlation, and it's easy to do, as different means and/or SDs are just linear transformations.
...
-
There's weakly typed and then there's self-declaring (no Option Explicit). Personally, I think the self-declaring is the worst of all of it, as a simple mis-spelling can cause horrible consequences....
-
Ahhh, I totally misunderstood as well. I thought he wanted the items horizontally centered. Looks like Eduardo got it done though.
-
It would definitely take some subclassing of the ListBox.
Personally, I'd probably "home-grow" (custom user control) my own ListBox, possibly using a small array of TextBoxes that the items scroll...
-
Yeah, that's right. The "compiled time" error message doesn't even have the "Help" button on it at all. It's just got an "OK" button on it. It'd take considerable work to get a "Help" button on...
-
That's not going to be easy, but it is an interesting idea.
The only way I can think of to do it is to hook the thread, and then monitor for window creations. Then maybe check the class name,...
-
Personally, I'd say a timer that then checks whether certain things are happening (mouse down, keys down, mouse at a certain spot, whatever) would cost far more than a subclass that simply monitors...
-
I'd say "no". But a control like this, I'd definitely consider compiling it separately and making an OCX out of it.
-
Or a ListView. The way he describes it, I'd tend to grab the ListView.
-
gauser, OBJ (3D) files are arrays XYZ vertices (and, in triangle form, which isn't the only way), along with an integer array of triplets that tells us how to form triangles out of the vertices. ...
-
Yeah, I don't think you can though without a thunk of some kind. I wasn't clear, but I should have said "without a thunk" (i.e., just straight VB6 code).
-
Let me be a bit sardonic for a moment ... One might say that they "just don't like subclassing". Fair enough, but the only way to truly avoid subclassing is to return to the DOS (or CP/M) days, and...
-
I'd like to know what "encapsulates the subclass" means.
This should possibly be an addendum to what I said in the other thread, but I'll say it here.
When we want some event that Windows...
-
To me, it's very important to understand what subclassing is. when it's done, and why you think you need to avoid it.
Subclassing is nothing but a monitoring of the message pump, and...
-
DLLs is a good point. I've got tons of images in DLLs, especially for one particular "help" system that has lots of pictures of xrays with examples of how to interpret things and setup things. ...
-
And hey, Eduardo, I'm not saying that the ImageList or the PictureBox aren't good alternatives. They are. :)
I suppose one advantage I see with resources is that you don't have to load a form to...
-
It's just the standard Microsoft one that comes with the VB6 development package. I've never had any problems with it.
-
In theory, I suppose it would make sense if you could work out a "Checked", "Gray Checked", & "Unchecked" option, with "Gray Checked" meaning partially checked items. And then checking (or...
-
To me, it looks like you're trying to set a sub-menu container as checked, and not an actual menu item.
|
Click Here to Expand Forum to Full Width
|