 |
|
 |
This article is very useful for me.
|
|
|
|
 |
|
 |
As the title.
I directly tranform the RGNCreator.gif that the author gived to RGNCreator.bmp with fireworks.
then when i'am trying to create a region with RGNCreator,i do not know how to chose a transparent color.
|
|
|
|
 |
|
 |
Would someone please to give me a real example?thanks ahead
Beyond Forever!
|
|
|
|
 |
|
 |
I'm with you. I tried several ways over an hour and couldn't get it to work properly.
Cheers,
Tom Archer - Archer Consulting Group
Programmer Trainer and Mentor and Project Management Consultant
|
|
|
|
 |
|
 |
When I load bitmap 300x308 into the RGNerator, it reduces bitmap to 300x307. As a result, in output I have 300x307 region, and it's not what I want to see.
So, program loses bottom picture's line.
But, tool is very good, (without it).
Chess
|
|
|
|
 |
|
 |
the region-data for the bmp is made by 'RGN Generator v1.01'
Where can I download it????...
|
|
|
|
 |
|
 |
Please read carefully
at top of article you can see link to download RGN Generator demo project - that's you need.
GAG [Jaguar]
|
|
|
|
 |
|
 |
How can i transform RGN into JPEG?
|
|
|
|
 |
|
 |
please tell me how to do thankx as title
|
|
|
|
 |
|
 |
Can I change my background RGN using a TIMER ?
Can someone help me prease ?
|
|
|
|
 |
|
 |
Does anyone know of a simple way to accumulate all the update rectangles for the screen that occurs during a certain period of time? I need to write an efficient screen capture utility, which means I would ideally like to capture only the part of the screen that has changed.
I imagine a kernel mode video hook may work, but I'd rather not have to delve into kernel mode code.
|
|
|
|
 |
|
 |
Can you Help me please: I'm finding to have this windows AlwaysOnTop, but I'm not able.
Help me please.
candon@libero.it
|
|
|
|
 |
|
 |
Make sure you have an HICON member variable in your custom dialog class definition: HICON m_hIcon; In the dialog constructor, load the icon you want to use: m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); Add the WS_SYSMENU option to your custom dialog in the rc file to enable your icon to be displayed. For example: IDD_MAIN_DIALOG DIALOGEX 0, 0, 400, 352 STYLE WS_POPUP | WS_VISIBLE | WS_SYSMENU EXSTYLE WS_EX_APPWINDOW FONT 8, "MS Sans Serif", 0, 0, 0x1 BEGIN ... In the OnInitDialog function of the dialog class, make sure you have the following code (where m_hIcon is an HICON member variable of the class): SetIcon(m_hIcon, TRUE); // Set big icon SetIcon(m_hIcon, FALSE); // Set small icon // Set the text to display in the taskbar icon CString sAppName; sAppName.LoadString(AFX_IDS_APP_TITLE); SetWindowText(sAppName); Hope it works...Isabel Delacour
|
|
|
|
 |
|
 |
I have a "small" problem with regions and Win95. I create the region and everything looks fine but once I click inside the window it is like the window has "lost its DC and I actually click on the window behing it... Any ideas?
|
|
|
|
 |
|
 |
I have a big bitmap file. I've created RGN file using your region creator. And I've trace the step you suggested to create nonrectangular dialog. But region and bitmap doesn't match exactly. How can I do that?
I am guessing that I should control DESIGNX and DESIGNY. What's the meaning of DESIGNX and DESIGNY?
Thank you in advance.
|
|
|
|
 |
|
 |
Hi,
Just wanted to ask you how you did the buttons in the program...
Thanks,
Bogda
|
|
|
|
 |
|
 |
i think he did it with the combination of any good drawing program like photoshop/paintshop pro
and tools like Alien Skin or KAI power tools, which allow you to do this very easily. look for them.
|
|
|
|
 |
|
 |
Actually, you don't need any fancy plug-ins for that. Just use Photoshop. There are pretty good tutorials available on this site: http://rainworld.com/oe_99/forge/ps_tut
|
|
|
|
 |
|
 |
Richard,
I love your region generator and have been going crazy
creating non-rectangular dialogs with your code.
I got tired of seeting a break point to record the "normal" height and width of the bitmap so I came up with a better scaling solution for the Small/Large Font problem.
Where do I send you the code change I made?
Mar
|
|
|
|
 |
|
 |
I am having a problem with dialogs in Large font mode. Can anyone give me an idea of what things should be done to make the dialog and controls on it to look correct.
I coded to find out whether the setting is large font or small font but what should be done in that case is not very clear.I feel dialog resizing must be done but by how much? All my controls are dynamically created. Pls advise.
Thanks
|
|
|
|
 |
|
 |
Your article is very interesting, yet a bit frustating.
You give source code showing how to use the output of your RGNCreator, that's a good thing, but I would like to know how to generate a RGN out of a bitmap.
Perhaps you don't want to release the source code of your RGNCreator (else you would already have done it) for various reasons. But you use here a number of interesting techniques (rotating text, animated bitmaps, etc.) and even more important, the algorithm for converting a bitmap to a vector RGN. Perhaps it is a "simple" autotrace algorithm, perhaps there are some tricks.
If you can't release the whole code, perhaps you can do an article on some of these techniques.
This is of interest to allow "skinable" programs. In these, it is more pratical to ask the user to input a simple bitmap than to draw a region, or even to run your program to generate a region!
Care to share, if you can?
Thank you
|
|
|
|
 |
|
 |
I generated a rgn file for background.bmp file that is your background file in your example.
However my background.rgn is the different from yours.
I don't know wyh?
|
|
|
|
 |
|
 |
This program is useful source to programmer.
We're solved some problem related to transparent dialog.
Um...I programmed bitmap-backgrounding with VC++ in Win98.
My program operated good well in Win98. But, it was not operating in Win95 system. I'd like to know the reason why..? Help me, please!!
|
|
|
|
 |
|
 |
This project is very useful. However, I've been trying to create a region button that uses images for all the states of a button. I see that the region generator app utilizes this type (Image Buttons). Could some example code be provided to illustrate a region button with images used for various states (up,down,selected,etc.)
|
|
|
|
 |
|
 |
Hi. Nice article.
How did you come up with that "RGN" resource?
Thanx
|
|
|
|
 |