Search:
Type: Posts; User: AAraya
Search:
Search took 0.06 seconds.
-
I have seen this but not just with Win11. Something else is blocking the program from executing - 99.9% of the time it's internet security/anti-virus software.
-
Thanks! That's extremely helpful.
Now the only part I guess I need to solve is the reading of the resource into a byte array. My images are stored in an external DLL which holds both ICO and...
-
Hi Franky,
Many of these APIs are new for me and truth be told I'm not interested in going down that rabbit hole right now for my limited need. Do you happen to have some simple sample code...
-
Thank you. Yes, I'm aware of that - just misspoke but appreciate you making sure I was aware of the distinction.
-
Actually I think that's the approach I DON'T want to take. I've got code which does that. It uses LoadIconWithScaleDown to load the image from resource file, and OleCreatePictureIndirect to create...
-
Is it possible to read an image (ICO, BMP, PNG, etc) from a resource file and display it using GDIPlus?
I've found some code to get an image from a resource file and display it using other APIs...
-
Thanks for the additional info wqweto. My app doesn't support WinXP, so that's not going to be an issue for me. But may be helpful for others reading this.
-
Yes, I've come to the same conclusion doing some testing on my end. The Picture is saved and read from the PropertyBag but it's just not displaying on the user control so I've got to track that...
-
I think may question may have been unclear. Let me give an example using a Boolean variable m_Shadow:
In UserControl_WriteProperties I can save a variable's value to the Property Bag like this:
...
-
I've got a user control which I've added a Picture property to of datatype stdPicture. I want this stdPicture object saved to the PropertyBag when I close and I want it read from the PropertyBag...
-
Thanks fafalone.
Before reading your response I had already changed from SHBrowseForFolders to IFileOpenDialog for the folder selection dialog. I was already using this for File Open dialog so...
-
I'm using SHBrowseForFolder to show a Browse for Folder dialog in my program. One of my users is trying to select a folder on a drive on their Samsung phone. This device/drive/folder is visible in...
-
What's your question? What part of this do you need help with?
-
That's great news! Thanks fafalone.
-
I downloaded and played around with TwinBasic today. It's come quite a long way since the early days when I first looked at it! Seems like I might be able to port over much of my existing VB6 code...
-
-
Just a habit. But I did think of this of this as well. Thanks!
-
It's always good to have someone else look over my logic. Appreciate you taking the time to do that!
I don't agree with your correction however. Using your logic of OR rather than AND, a Windows...
-
Here's my updated version of your code fafalone (incorporating the suggestions & feedback that followed the original posting).
Public Function IsWin7OrGreater() As Boolean
Dim lngMajor ...
-
The logic for both Win7OrGreater and Win8OrGreater fail on my Windows 10 system (dwMajor = 10, dwMinor = 0, dwBuild = 19045). I believe that the logic for those two lines should be:
...
-
I am interested in these algorithms and their applications.
Do you have any samples of these algos in usage? There are many "?" characters in your posted code which make it difficult to work...
-
Ahh, I see. Thanks for pointing that out. I'll see if I can use that information to get where I'm trying to go. Again, your time and help is much appreciated!
-
Ahh, gotcha. Well that makes things difficult for me. I wonder how Krool implements his Visual Styles functionality in his VBCCR controls then?
Appreciate the responses.
-
To make sure I've understood your response. Are you saying that there's no way for me to get the theme color that the system uses when a mouse is over a button or when a button is pressed?
-
Thanks for your response!
1. Where did you find this error code meaning? Is there a place I can find all possible errors returned by the uxtheme API?
2. Are you saying that there's no way for...
-
Yes, his user controls are wonderful! The only oddity I've found is why I can't just simply set a .Picture() property on the user control at runtime. If I could do this, they would be perfect!
-
I'm trying to use the uxtheme API to get the theme color for a button when the mouse hovers over it. Currently I'm just doing a screengrab and color picker to approximate the color but I want this...
-
I have resolved the issue I was having with the Property Page.
I had copied the Property Page from his demo project into my project folder. When I examined the property page in a text editor I...
-
Thanks for your help with this. When I add the Property Page (PropPagLP.pag) from the demo into my project, I get a "Method or Data Member not found" error in the Property Page's cmdBrowse_Click...
-
I've been able to create a Chip UI component using this excellent control. One thing I can't figure out however is how to set a Picture for a label. I see many Picture related properties on the...
-
Yes, LabelPlus can do everything I was looking for. Thanks all for your help!
-
Wow - what an impressive user control this seems to be. Working my way through the demo projects right now.
Only thing missing is user documentation - that would make this perfection! Thanks...
-
Wow - it sure looks like it will. What an impressive user control that seems to be. Only thing missing is some documentation. Let me see if I can get this to do what I need. Thanks!
-
Thanks. I use Krool's CCRP controls extensively - awesome stuff. The buttons do everything you say but the button shapes are standard rectangles. If I want rounded rectangle, I'd have to ownerdraw...
-
This looks like a handy button control. I can definitely see uses for it. Thanks!
Making my own nine-patch image file is beyond me right now but the standard ones that come pre-defined are...
-
Yup - could create my own user control but was just reaching out to see if someone's already done this. It's such a common component these days that I thought it was worth a shot to check with my...
-
I'm looking for a chip component to use in my project. We've all seen them, even if we're not aware of what they're called.
190598
Here's more info on chips, for anyone interested.
Thanks!
-
Edit...
Found the answer myself.
Thanks Krool!
-
It's been a few years since I played with this Owner-drawn combo stuff. I need to revisit it now as I'm tweaking my code to handle DPI. In order to get the items in my owner drawn combo list to...
-
https://www.itwriting.com/frozenvb6.php
|
Click Here to Expand Forum to Full Width
|