Important alert: (current site time 7/16/2013 2:34:11 AM EDT)
 

winzip icon

Final Update - 2.7.4 - RCM GII - Client And Non Client Modifier Class

Email
Submitted on: 9/17/2006 4:40:20 AM
By: Steppenwolfe 
Level: Intermediate
User Rating: By 35 Users
Compatibility: VB 6.0
Views: 32055
author picture
(About the author)
 
     Ver. 2.74 Is Up! Last of the bugfixes: optionbutton fixed, disabled text effect is back, other misc. fixes/optimizations.. _________________________________________________ Ver 2.72 Is Up! This is absolutely the last version, -and by far the best. Replaced subclasser, and speed and stability have improved tremendously. Gdi leaks are gone, and library is now crash proof. Every class rewritten with a mind to compact and efficient code. If you have a prev version, delete it, this is the one you want.. Sept. 8 -Fixed checkbox rollover, small problem with caption, form now does not need to be reloaded on skin change, and fixed/optimized a few things. _________________________________________________ Ver 2.7 Is Up! Added progressbars and sliders. Added GPX accelerator typelib in alternate version. Many features changed, improved, added to classes. New version skins almost everything. Enjoy.. _________________________________________________ Ver 2.6.2 Is Up! Skins Forms, listview headers, scrollbars, command buttons, option buttons, combo boxes, listbox, dir and file list, picturebox, etc. Made a lot of changes from 6.2, library speed is greatly improved and is now very stable. Thread acceleration is back in, listview headers fixed, and scrollbar thumbs now support borders. Also included all of the working projects, so that you may add them seperately to projects. _________________________________________________ Ver. 2.5 Is Up! Added transparency and extended styles to menus. Now skins: Form/menu/command button/option button/checkbox/combobox/imagecombo/drivelist. Added alpha and 32b bmp support w/ auto-converter, transparency color auto-mapping, and tons more.. Added icons to command buttons, fixed a few things and reuploaded.. _________________________________________________ Ver. 2.4 Is Up! The first of the common controls are skinned, and the groundwork laid for more, enjoy.. _________________________________________________ Ver. 2.3 Is Up! New version is 100% flicker free! Added many new features like auto centering caption text, anti-aliasing, transparent regions, new menu features, optional caption text frame image, improvements in rendering speed, and four new skins. _________________________________________________ Ver. 2.2 Is Up! Menu issues have been resolved, and some new routines added in preparation for the next update.. _________________________________________________ Ver. 2.1 Is Up! Fixed a number of issues with nc and menu classes, new rev is stable.. John

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
  3. Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 16 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Intermediate category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments

8/1/2006 12:33:37 PMSteppenwolfe

Hey all.. reuploaded with runnable.tlb. I will update submission in a couple of days with any changes, and maybe a few new skins.
(If this comment was disrespectful, please report it.)

 
8/1/2006 1:35:08 PMSteppenwolfe

Spotted a couple bugs/annoyances, no worries, I will post fixes tonight (v.2.2).. cheers
(If this comment was disrespectful, please report it.)

 
8/1/2006 4:08:37 PMredcell

i was wondering if u had the images so i can know how to make my own skins ?


(If this comment was disrespectful, please report it.)

 
8/1/2006 4:14:22 PMSteppenwolfe

redcell, should be an images folder included in the upload.. It is very easy, and skins are similar to wb4, (took me 10 minutes to make two example skins by sampling screenshots on wincustomize.com..)
(If this comment was disrespectful, please report it.)

 
8/1/2006 5:17:33 PMM@rkS

This is great - thanks for sharing.
(If this comment was disrespectful, please report it.)

 
8/2/2006 11:16:59 AMSteppenwolfe

Still a small bug in menus when changing skins, I will fix it and upload tonight..
(If this comment was disrespectful, please report it.)

 
8/2/2006 12:03:27 PMSteppenwolfe

Menu keeping state through skin change has been resolved.. and new version uploaded (2.2). I'll put an update with some new features on the weekend..
(If this comment was disrespectful, please report it.)

 
8/2/2006 2:49:52 PMBasak Karpuz

i have some dll errors :S
could not find dll and or sth like that..

np, i know u do good things...
(If this comment was disrespectful, please report it.)

 
8/2/2006 4:26:49 PMSteppenwolfe

Basuk, (and others..), you are probably missing .tlb required for multithreading.. Open dll project, go to project > references, and browse to TypeLib folder, (included in latest upload), add RUNNABLE.TLB, save project, close, and open group project to test..
(If this comment was disrespectful, please report it.)

 
8/2/2006 7:59:38 PMSteppenwolfe

Another note: For Win98/ME users. M-Threading, (I doubt), works on these platforms. Skinning library still should work though.. Remove reference to RUNNABLE.TLB from lib project, and in cNeoClass, rem 'Implements Runnable' in declares, and rem subs: Start, and Runnable_Start. In the test form, rem the .Start call, and unrem the .Attatch call. This bypasses multithreading..
(If this comment was disrespectful, please report it.)

 
8/2/2006 11:10:02 PMenmity

1. form flikering heavily when hovering menu over file<->edit<->help, watch the right upper corner buttons

2. still crash when click the close button(right upper corner), not 100% crash, though.

3. remove redundent vbaliml6.ocx reference.

if you could fix the severe two problems, you will be awarded with as many points as I can give you:)


(If this comment was disrespectful, please report it.)

 
8/2/2006 11:14:14 PMenmity

however, i found a way to solve the crash problem: do NOT use "Set m_Neo = Nothing" when the form unloads! but it is NOT gracefully, er?
(If this comment was disrespectful, please report it.)

 
8/2/2006 11:16:46 PMenmity

i forgot to mention the how to produce the flickering problem more attractively :) just hover those 3 menus quickly, quicker, more obvious:)
(If this comment was disrespectful, please report it.)

 
8/3/2006 7:43:56 AMSteppenwolfe

Enmity,
Flicker problem is completely solved in new version, (2.3 - 100% flicker free!). I changed draw technique to blit whole frame into temp dc, then use excluderegion to bypass painting of client area.
I will upload that rev later today..
As to 'crash', it is something to do with subclasser, (low level, I think), I am still trying to figure it out..
(If this comment was disrespectful, please report it.)

 
8/3/2006 10:38:41 PMenmity

yes yes, I have been observing the ancestor of this project for years, the steve's orginal version works great, a little heavy, though. it would be good, however, for your project to support reading configurations from a file, many reasons, the big reason is, hey, let the end-users create their owns:)

(If this comment was disrespectful, please report it.)

 
8/4/2006 3:38:41 AMSteppenwolfe

Enmity,
Steve of course did a great job, but he left it with a lot of things needing to be done.
There is very little of his code left in cNeoclass.cls, (none really), and I am slowly writing his work out of menu classes now. I think new rev with m-thread, regioning, transparencies, and such, is picking up where he left off.. (not that I wanted the job, a lot of work to be sure ;o)
For skins, you could just make an app that bundled images and parse it through an ini or xml interface if you need that.. but I am writing this version for programming community.
v2.3 is going up, some serious changes, and many new features.. enjoy
(If this comment was disrespectful, please report it.)

 
8/4/2006 5:11:32 AMaz1d

Great work. I've always been keen on Neocaption, but unfortunately it's instability and incompleteness always let it down.

But you seem to have "taken on" this project with your eyes wide open and it's turning out to be pretty great re-write. 5 Vote.
-az1d
(If this comment was disrespectful, please report it.)

 
8/4/2006 9:28:48 AMenmity

now the flickering goes to the client area... just hover the menus again:), the listview and option buttons and the "about" button, flickers!

(If this comment was disrespectful, please report it.)

 
8/4/2006 9:44:45 AMSteppenwolfe

Enmity, that is just repaint of form, (which is expected, and hardly noticible).
(If this comment was disrespectful, please report it.)

 
8/4/2006 9:49:23 AMSteppenwolfe

Somone want to let me know if this is working out of the box in 98/ME (w/ the multithreading)?
(If this comment was disrespectful, please report it.)

 
8/4/2006 11:52:16 AMSteppenwolfe

K, reuploaded with a couple more fixes.. client flicker is gone, and crashes on form unload also appear to be resolved now..
(If this comment was disrespectful, please report it.)

 
8/4/2006 8:47:11 PMenmity

can you tell me why there always a big gap between the main menu and the menu items belong to each one?
(If this comment was disrespectful, please report it.)

 
8/4/2006 8:52:18 PMenmity

all flickering gone, and crash seems could not reproduce any more. wonderful update. but still, a config file is better:)
(If this comment was disrespectful, please report it.)

 
8/4/2006 9:22:20 PMenmity

one new problem: do NOT use Len() to measure text length(the caption text), use lstrlen, since Len() could not get the actual length(in bytes) of NON-ASCII characters.

(If this comment was disrespectful, please report it.)

 
8/5/2006 8:53:40 AMenmity

another problem: did you notice a heavy flickering of the whole form while the app starts(run/init, form show)?
(If this comment was disrespectful, please report it.)

 
8/5/2006 10:05:47 AMSteppenwolfe

Enmity,
Len on text was good catch, that is fixed. When form is loaded, (particularly if m-threaded), it takes a moment to load, I think this may be unavoidable. I am working on skinning common controls now, should be a 2.4 today.
(If this comment was disrespectful, please report it.)

 
8/5/2006 10:39:58 PMenmity

hope you could skin all common controls. I remember that there is a great project that could owner-drawn all common controls, it called itself "theme".
(If this comment was disrespectful, please report it.)

 
8/6/2006 2:27:33 AMenmity

great news! I have done the INI skin support! download it here: http://www.cnblogs.com/Files/unruledboy/RCM%20GII%20(with%20INISkin).zip
(If this comment was disrespectful, please report it.)

 
8/6/2006 2:30:37 AMenmity

i've added separate classes(cINISkin & cINI), for your easy update. and there are two ini files: lgesque.ini & skintemplate.ini. hope you like it. if you think that is worth for you put them in your codes, please feel free to do so, and DON'T need to put my credits:)

(If this comment was disrespectful, please report it.)

 
8/6/2006 2:31:36 AMenmity

I use callbyname for clean code, maybe a little drop of performance, but, who cares:)
(If this comment was disrespectful, please report it.)

 
8/6/2006 3:57:09 AMenmity

more problem with non-ASCII characters with caption text & menu text:

With tMenuR
.Right = .Left + (m_lMenuOffsetX * 2) + 40 'why 40? why not the actual length? only part of my top level menus are shown.

and for centering caption, some left part and some right part are NOT shown, I adjust it to the following and it works well:

If m_bCenterCaption Then
.Left = ((tWndR.Right - tWndR.Left) - tPnt.x) / 2 - 10 'added -10
.Right = .Left + tPnt.x + 10 'added + 10

(If this comment was disrespectful, please report it.)

 
8/6/2006 4:13:48 AMenmity

one more problem with top level menus. if those menus have accelerators, you just press the accelerators(key), and you will notice the classic menus come back...
(If this comment was disrespectful, please report it.)

 
8/6/2006 4:29:13 AMenmity

talking about the heavy flickering when the form shows, I remember that steve's NeoCaption does not have that problem.
(If this comment was disrespectful, please report it.)

 
8/6/2006 11:15:14 AMSteppenwolfe

Enmity, most of the menu class will be rewritten, (ex. I would like transparent menus, and them to be fully skinned like wb). I will look at ini classes, but I think I may put together another solution in last update, (will probably go to 2.7), one that uses compiled skin file like .wbs.
As for flicker on startup, Steve's version was not multi-threaded, and had problems of its own ;o)
(If this comment was disrespectful, please report it.)

 
8/6/2006 10:09:56 PMenmity

i thought about compiled skin, and had ever done that for NeoCaption, easy to implement, and easy to deploy/ship. but is 2.7 a little too far? :)
(If this comment was disrespectful, please report it.)

 
8/7/2006 8:37:06 PMHardStream Software Development

Looks really nice, but when WindowBlinds is running, the titlebar and borders won't be skinned, menus work perfectly... Nice code and worth 5 globes (I've seen it works very well when WindowBlinds is unloaded :D)


btw. I'm using WindowBlinds V5, and the skin has some semi-transparent parts (skin = DogmaX4)
(If this comment was disrespectful, please report it.)

 
8/7/2006 10:54:52 PMenmity

longing for 2.4 to release:)
(If this comment was disrespectful, please report it.)

 
8/8/2006 8:02:28 AMvbangle

the similarity source:
http://www.mndsoft.com/downfiles/NiceFormControl.rar
(If this comment was disrespectful, please report it.)

 
8/8/2006 10:10:29 AMenmity

@vbangle

that chinese guy only get the old version of NeoCaption and combine another menu control found here, nothing new!
(If this comment was disrespectful, please report it.)

 
8/9/2006 7:39:03 AMHardStream Software Development

Wow, V2.4 works with WB5 :D nice fix...
I guess this really is the ultimate skin engine on PSC :D another 5 globes
(If this comment was disrespectful, please report it.)

 
8/9/2006 8:42:15 AMrishal

mdi support ?

(If this comment was disrespectful, please report it.)

 
8/9/2006 11:39:36 AMSteppenwolfe

Rishal, have not tried it with mdi, but should not be hard to give it support for that.
(If this comment was disrespectful, please report it.)

 
8/9/2006 12:47:07 PMQuelhas

bug found: press Alt key (access menu) you see..
(If this comment was disrespectful, please report it.)

 
8/9/2006 1:29:12 PMSteppenwolfe

Quelhas, I'll fix it in next version.

(If this comment was disrespectful, please report it.)

 
8/9/2006 5:01:17 PMM@rkS

This is great, and yes it does seem to work under WB5 running Dogma - well done.
(If this comment was disrespectful, please report it.)

 
8/9/2006 7:36:44 PMSteppenwolfe

Thanks all.. next rev. (2.5), will (hopefully), skin combo/imagecombo, checkboxes, will have alpha support, and keyboard hooks.. stay tuned
(If this comment was disrespectful, please report it.)

 
8/9/2006 9:18:40 PMHardStream Software Development

Found another small error: when you maximize and then normalize, the upper corners stay filled where they should be transparent. When you minimize the form and then normalize it again, the form is how it's supposed to be...
(If this comment was disrespectful, please report it.)

 
8/9/2006 10:40:16 PMenmity

super fantastic excellent update!
(If this comment was disrespectful, please report it.)

 
8/10/2006 12:10:25 AMrishal

would you so kind give mdi support ? many posted project related in skinning none of them support mdi , i was using Jcforms , but doesn't support mdi, btw : This is great - thanks for sharing.

(If this comment was disrespectful, please report it.)

 
8/10/2006 6:50:02 AM

Can development remove attack Runnable.tlb. Don't support MDI Form, Unicode Font
(If this comment was disrespectful, please report it.)

 
8/11/2006 10:22:50 PMenmity

when will 2.5 release:)
(If this comment was disrespectful, please report it.)

 
8/11/2006 11:29:29 PMSteppenwolfe

Enmity, maybe this weekend.. has transparent menus, alpha rendering, support for 32b bmp (w/ auto-conversion from 24b), auto-trans color sampling, skinned chkbox, combo and imagecombo, support for 98/ME, keyboard hooks, and most of bugs are gone. Be patient, it is a big update..
(If this comment was disrespectful, please report it.)

 
8/13/2006 6:12:09 PMvbangle

thankS
(If this comment was disrespectful, please report it.)

 
8/13/2006 6:44:49 PMHardStream Software Development

v2.5 really rules dude. Indeed a big update to 2.4. The transparent menus are really great, and the engine is really fast... In other words: couldn't be any better :D
(If this comment was disrespectful, please report it.)

 
8/13/2006 8:12:42 PMSteppenwolfe

HSD, trust me.. it is going to get a lot better.. ;o)
Will go to 2.7, and every control will be skinned. Fixed a couple things, and added icons to command buttons, will reupload tonight..
(If this comment was disrespectful, please report it.)

 
8/14/2006 5:03:34 AMM@rkS

Great project - love it. Have found 1 thing that will need to be resolved to make it complete -> I found that a multilevel menu is destroyed when a bottom level option is selected. What I did was this: Lvl 0: Options Menu / Lvl 1: An Option / Lvl 1: Skin / Lvl 2: GT3 / Lvl 2: Halo / Lvl 2: Lime /// If any of the skins are selected cont...
(If this comment was disrespectful, please report it.)

 
8/14/2006 5:05:36 AMM@rkS

cont... the Lvl 1 menus text is replaced with the Lvl 2 texts. Thus it becomes Lvl 0: Options / Lvl 1: GT3 / Lvl 1: Halo / Lvl 2: remain unchanged.
(If this comment was disrespectful, please report it.)

 
8/14/2006 8:03:48 AM

How can remove runnable.tlb. I think we can fix this problem. RCM need support unicode font.
(If this comment was disrespectful, please report it.)

 
8/14/2006 9:03:54 AMSkyLiver

when rename form caption you can will see small bag
(If this comment was disrespectful, please report it.)

 
8/14/2006 9:54:01 AMaz1d

Beautiful update!
-az1d
(If this comment was disrespectful, please report it.)

 
8/14/2006 12:43:56 PMSteppenwolfe

Mark, I will look at it when I finish alt acclerators, (probably last version). If you want, email me routines you changed..
(If this comment was disrespectful, please report it.)

 
8/14/2006 4:57:25 PMM@rkS

Cheers. No changes made to your routines, however I am using your stuff in a test project of mine - thus pulling across your code as required.
(If this comment was disrespectful, please report it.)

 
8/14/2006 11:07:55 PMenmity

oh, supreme update!
(If this comment was disrespectful, please report it.)

 
8/14/2006 11:14:21 PMenmity

small bug as reported by SkyLiver, the menu and the caption bar need a little more effort. i just noticed that it works good for popup menu too, great! looking forward for scrollbars and listview headers.
(If this comment was disrespectful, please report it.)

 
8/15/2006 4:54:17 AMenmity

btw. there seems to be no support for spliter of menu(the "-").
(If this comment was disrespectful, please report it.)

 
8/15/2006 10:58:35 AMSteppenwolfe

Added sub to change caption, and fixed a few other things, will be in next rev, probably by end of week..
(If this comment was disrespectful, please report it.)

 
8/15/2006 2:17:50 PMSkyLiver

Great! I am wait for a new version!
(If this comment was disrespectful, please report it.)

 
8/16/2006 12:20:12 AMSooekd

Version 2.5 Hook Menu BUG
[url=http://img236.imageshack.us/my.php?image=bugvc5.jpg][img=http://img236.image shack.us/img236/3284/bugvc5.th.jpg][/url]

(If this comment was disrespectful, please report it.)

 
8/16/2006 3:01:50 AMenmity

i think that "bug" is not a real bug, the only problem is the background picture, make it longer
(If this comment was disrespectful, please report it.)

 
8/16/2006 4:51:43 AMSooekd

How long final version release
(If this comment was disrespectful, please report it.)

 
8/16/2006 12:37:43 PMSteppenwolfe

Sk, this is already fixed with stretchblt in next rev. Project will be complete when I have time to finish it, (probably next week).
(If this comment was disrespectful, please report it.)

 
8/17/2006 3:19:55 AMRanjan

very good
(If this comment was disrespectful, please report it.)

 
8/17/2006 3:31:56 PMredcell

nice 1 man keep up the work

i have 1 question when i tried to add a form to the app it wouldnt skin
any help ?
(If this comment was disrespectful, please report it.)

 
8/17/2006 8:35:15 PMSteppenwolfe

redcell,
look at library loading code in both forms. Lib must be attatched and properies set in form load as per the examples..
(If this comment was disrespectful, please report it.)

 
8/17/2006 10:26:14 PMM@rkS

Found several issues - I won't call them bugs as it may be my implimentation: 1. A form with 3 menu items will only display 2 of them eg. File|Options|About -> About never displays. 2. More than 2 forms in a project and all sorts of strange behavour occurs on running - partial skinning for example, and GPFs! (V2.5)
(If this comment was disrespectful, please report it.)

 
8/17/2006 10:41:16 PMenmity

skinning for forms are NOT automatic, you need to apply the skin to each form, see the frmAbout form code.
(If this comment was disrespectful, please report it.)

 
8/18/2006 2:57:16 AMM@rkS

enmity, give me a little credit...all the forms have the appropriate initialisation code and do skin very nicely. There are just some issues as I stated above.
(If this comment was disrespectful, please report it.)

 
8/18/2006 3:19:21 AMSteppenwolfe

Mark,
I am not sure what you mean.. example uses 2 forms, (frmAbout & frmMain), and has 3 root menu items, (I just added 2 more levels as a test, and it displays just fine). Better take a look at how you are using the code.
As for implementation, (everyone), frmAbout has a basic configuration, start by looking at that. Many things are automatic, like transparency color, and estimating image size, but it has a lot of options, and some of them must be turned on for it to work properly, and some images are also mandatory.. (2.6 has 2x as many properties, btw).
(If this comment was disrespectful, please report it.)

 
8/18/2006 5:50:49 AMM@rkS

I'll drop you an email and try to explain it more clearly...
(If this comment was disrespectful, please report it.)

 
8/20/2006 7:10:37 PMStewart

Awesome work. Very nicely done.
(If this comment was disrespectful, please report it.)

 
8/23/2006 8:21:47 AMenmity

excellent update! to be honest, if you change the title of this submission to be "best skin engine ever!", it will definitely gain more replies and votes:)
(If this comment was disrespectful, please report it.)

 
8/23/2006 8:29:42 AMenmity

now the form resize/close animates, common controls are supported, super code!
(If this comment was disrespectful, please report it.)

 
8/23/2006 8:33:54 AMenmity

hovering menus will cause a slight flickering of the listview. what will be news for 2.7? is 2.7 the last update?
(If this comment was disrespectful, please report it.)

 
8/23/2006 9:43:47 AMHardStream Software Development

New bug in v2.6: menu turns black when the mouse moves over it...
check screenshot: http://img175.imageshack.us/img175/9320/bugqq6.png

I love the column header support and textbox watermark :D
(If this comment was disrespectful, please report it.)

 
8/23/2006 10:03:45 AMvbangle

keep mouse down on top of border
http://vbangle.5ivb.net/down/Keep Mouse down on top Border.jpg
(If this comment was disrespectful, please report it.)

 
8/23/2006 11:05:42 AMHeriberto Mantilla Santamaria

my GOD more better again :)

Thx for this gr8 evolution for this class.
(If this comment was disrespectful, please report it.)

 
8/23/2006 3:38:34 PMMiroslaw

Great project - love it, 5 globes/

(If this comment was disrespectful, please report it.)

 
8/24/2006 1:46:06 AMSteppenwolfe

I will look at bugs tomorrow.. thx for the support ;o)
I have already fixed most of it, listview headers were rewritten and now are rock solid. Scrollbars were made nicer (scaled for borders), I will update tonight or tomorrow w/ fixes.
(If this comment was disrespectful, please report it.)

 
8/24/2006 1:54:48 AMSteppenwolfe

Hardstream/vbangle.. what os? I was not able to reproduce either of these problems in xp. Menu bug is transparency related, (surely), buttons showing happens very rarely, and only if you click on exact border of caption and client with first click, (have not seen that problem in a long time, thought it was solved for good).
(If this comment was disrespectful, please report it.)

 
8/25/2006 12:14:30 PMaz1d

Steppenwolfe, give yourself a big pat on the back for this project.

Any time I've tried to 'fix' NeoCaption I've given up instantaneously. I sincerely hope you're not in a rush to 'finish' and be done with this project though.
-az1d
(If this comment was disrespectful, please report it.)

 
8/25/2006 12:22:48 PMDave

Excellent work John, 5 stars without question. Any chance of having the ability to use "color schemes" for the skins (like winamp does)? Maybe some kind of greyscale based approuch to effect only specific objects/elements within the form would be the best option.
(If this comment was disrespectful, please report it.)

 
8/25/2006 1:44:31 PMSteppenwolfe

Dave, I will probably 'bleach' some color out on inactive form, rather then swap in second skin for the effect. But, speed is crucial, and vb is slow with drawing, so it is unlikely color effects would work without some degree of flicker.
It would be interesting to see if this ran faster in .net though.. if anyone converts it, please let me know.
I think I will take a crack at a couple more controls on the weekend, then build in drawing typelib, and a final tuneup for 2.7, and that should be it..
(If this comment was disrespectful, please report it.)

 
8/26/2006 5:54:50 AMSooekd

I found bug with new version.
http://img205.imageshack.us/img205/6799/bug0gy5.jpg
I you chose command more skin work normal. But after you change skin and chose command more skin will crash.
http://img177.imageshack.us/img177/1266/bug1tq1.jpg
I need fix this problem. Thanks

(If this comment was disrespectful, please report it.)

 
8/26/2006 8:51:13 PMSteppenwolfe

People, I know more about what needs to be fixed then anyone, so please let me take care of it on my own. If after last version, you find 'bugs', -then- let me know.. and try and keep in mind, this is 'free' software.
(If this comment was disrespectful, please report it.)

 
8/27/2006 3:20:32 AMM@rkS

Excellent once again. Thanks for continuing with this.
(If this comment was disrespectful, please report it.)

 
8/27/2006 5:52:27 PMSnerf

I am just wondering, if it would be at all possible, if you could extract "just" the Menu Code, as a seperate project, or such. Everything is so bound together. Would truly be appreciated.
(If this comment was disrespectful, please report it.)

 
8/27/2006 10:30:29 PMenmity

excellent update, great thanks for your tremendous effort!
(If this comment was disrespectful, please report it.)

 
8/28/2006 2:12:13 AMSteppenwolfe

Snerf, just use vbaccelerator menu dll if you need a menu class.
As for my previous comment.. I don't mean to sound harsh, but it is a large, complex project, and I am doing the best I can. So everyone just try to be patient, it will be finished soon..
(If this comment was disrespectful, please report it.)

 
8/28/2006 11:39:40 PMenmity

two important problems. 1.font: try to change the font(name/bigger size), and you will see the original dropdown button of combobox; 2.form resize: try to change the txtTest.width(larger in size) in Form_Resize, and you will see the vertical srollbar is still there.....
(If this comment was disrespectful, please report it.)

 
8/28/2006 11:42:20 PMenmity

btw, could you please add support for the splitter("-") in menus? a good looking image there, better:)
(If this comment was disrespectful, please report it.)

 
8/29/2006 2:33:16 AMSteppenwolfe

Enmity,
Both problems were resolved in new rev (2.7).
As for menus, I think I will leave them, splitter would require another image to look right, and app is getting too process heavy.
(If this comment was disrespectful, please report it.)

 
8/29/2006 10:34:25 PMenmity

i understand, so far it's already the best skin engine in pure vb!
(If this comment was disrespectful, please report it.)

 
8/30/2006 3:47:41 AMCarles P.V.

Hard work here... Excellent. Started a *skin* project months ago too, but decided to abandone it due some knotty obstacles. Now *minimized* to only client area (all common controls)... but still some problems: VB interferences are not easy to solve sometimes. For example, try this one: 'check' any CheckBox or OptionButton (Style=Standard) via code :-) or try 'static' controls to be rendered in a Frame control, supposing you want to customize its background...
(If this comment was disrespectful, please report it.)

 
8/30/2006 3:48:58 AMCarles P.V.

For better optimization on paintings, I recommend you to use BeginPaint/EndPaint and restricting paints on passed rcPaint. Following is an excellent article also explaining some basis on flicker-free drawing: http://www.catch22.net/tuts/flicker.asp
(If this comment was disrespectful, please report it.)

 
8/30/2006 4:58:15 AMSteppenwolfe

Hi Carles,
Yes there are certainly limitations, but they are for the most part managable, and developer only needs to design interface within that threshold.
Sometimes messages needed for complete control of object are simply not available, or latency makes it unworkable.. but I think there is much more that can be done with standard controls then is widely realized.
I will look at the article, beginpaint had occured to me, just wasn't sure where/how to use it.. might help.
(If this comment was disrespectful, please report it.)

 
8/30/2006 7:03:02 AMCarles P.V.

I agree. I think it's an almost finished work, and best in its category.
(If this comment was disrespectful, please report it.)

 
8/30/2006 7:03:19 AMCarles P.V.

OptionButton and CheckBox: To process parent WM_CTLCOLORSTATIC solves it partly // BeginPaint->rcPaint: On WM_PAINT, I create a buffer DC same size as rcPaint. I correct offset by SetWindowOrgEx and SetBrushOrgEx. RectVisible for determining if necessary to paint a given *part*. If that part requires pixel by pixel processing (ie alphablend an icon) this reduces paint cost considerably.
(If this comment was disrespectful, please report it.)

 
8/30/2006 7:03:57 AMCarles P.V.

I will come back with that project again. I will send you current work if you wish.
(If this comment was disrespectful, please report it.)

 
8/30/2006 2:36:42 PMSteppenwolfe

Hi Carles,
Sure send it along. Only thing holding back 2.7 for me now though, is a good solution to circular references, any ideas?
(If this comment was disrespectful, please report it.)

 
8/31/2006 2:21:40 AMenmity

http://www.vbaccelerator.com/home/vb/Code/Techniques/Dealing_with_Circular_References/ar ticle.asp
(If this comment was disrespectful, please report it.)

 
8/31/2006 11:32:37 AMBert

Works very well, just one thing:
It is a very heavy toll on my system resources, after changing the skin 2 or 3 times, I'm out of resources (Win98 - 320 mB) and I get a Win warning about it.

Bert
(If this comment was disrespectful, please report it.)

 
8/31/2006 9:46:49 PMSteppenwolfe

Still a few small bugs here and there, but that's it for now.. Some Tips: Turn transparency off on menus if you have a slow machine, (or you will see it paint as it unrolls).
If you get a crash after opening closing child forms, rem the set rcma = nothing and replace with rcma.cleanup, (It seems ok in xp sp2 though).
If you use this in a project, put a reasonable amount of subclassed members on form, less then 30 say.
I am making a new subclasser now, a marriage between Paul's winsubhook2, and vbaccel subtimer.dll, if it is faster, I will swap it out of tlb version and reupload.
(If this comment was disrespectful, please report it.)

 
8/31/2006 10:43:21 PMenmity

two problems: 1. when close the form(IN IDE), VB crashed(both normal & TypeLib Version). 2. error with the redraw of the progressbar: the remaining background is not redrawed, try to move the form down to the taskbar to make the progressbar invisble, then move the window back, you will see.
(If this comment was disrespectful, please report it.)

 
8/31/2006 10:44:49 PMenmity

about the crash, you have to try a few times:)
(If this comment was disrespectful, please report it.)

 
8/31/2006 11:34:01 PMM@rkS

Great project as always. I note that command button picture only shows if its an icon. Any chance this could be enhanced to allow use of an image file eg BMP.
Also I note that the Toolbar control is not handled - not a biggy for me as I rearly use this control.
I have an issue with the Menu system, again :(, in that although the 1st item in a menu highlights correctly, moving to highlight any other item, or clicking, turns the whole menu black. Does not occur for the system menu.
(If this comment was disrespectful, please report it.)

 
9/1/2006 2:36:59 AMenmity

will there be a compiled skin and the builder tool?
(If this comment was disrespectful, please report it.)

 
9/1/2006 6:05:00 AMSteppenwolfe

Bert, 98/ME is not supported. But problem is definately transparentblit api. If you want it too work on older os, make sure that transmask is used instead of this routine (in clsrender), and reduce number of skinned controls to less then 20.
Mark, turn off menu transparency, and icons only.
Enmity, I will look into crash, but the rest is done. To be honest, I have other things to do, and project is taking more time then it is worth.
As I said, I may add a new subclasser, and update a couple things next week.
(If this comment was disrespectful, please report it.)

 
9/1/2006 7:13:58 AMSteppenwolfe

Bert,
I fixed transparentblt references , (there were still some in menu class), it will be in updated version probably out on the weekend. Any other problems in 9x though, you will have to resolve them on your own.
(If this comment was disrespectful, please report it.)

 
9/1/2006 7:25:25 AMSooekd

New version work crash. It crash when i click button about and after change skin it crash. Vesion 2.6.2 work good
(If this comment was disrespectful, please report it.)

 
9/1/2006 9:32:12 AMSteppenwolfe

Sookd, read the note above. Rem the set rcma/rcmo = nothing in child forms.
(If this comment was disrespectful, please report it.)

 
9/1/2006 9:43:36 AMSteppenwolfe

Also people, crashes are not because of code in library, they are because of bugs in (terrible) m$ activex dll implementation. Switching skins is just for demo, if switching on live app, just reload the app if necessary, (though it seems more stable when compiled).
(If this comment was disrespectful, please report it.)

 
9/2/2006 4:39:43 AMenmity

heavy flickering of the watermark when moving horizontal scrollbar of the textbox.
(If this comment was disrespectful, please report it.)

 
9/2/2006 7:44:22 AMSooekd

Steppenwotfe, I try change code but it ever crash. I think you need fix this problem. I use version 6.2.2 demo work no crash. Thanks
(If this comment was disrespectful, please report it.)

 
9/2/2006 8:25:31 PMSteppenwolfe

enmity, sooekd, neither of you guys even bothered to vote, but you are the ones complaining the most?!
I will fix crash next week and update tlb version, but that's it, that's all.
(If this comment was disrespectful, please report it.)

 
9/2/2006 11:27:23 PMenmity

@Steppenwolfe

didn't you know the vote rules of psc? any member can vote ONLY ONCE. I HAVE VOTED A LONG LONG TIME AGO!
(If this comment was disrespectful, please report it.)

 
9/2/2006 11:30:50 PMenmity

strange thing that it seems I have not yet voted, d.a.m.n me, great guilty myself!!! deeply sorry and I do apologize for it!!!
(If this comment was disrespectful, please report it.)

 
9/3/2006 1:43:26 PMSteppenwolfe

no worries enmity, I am only joking you know ;o) But project is taking too much time, so one more update is all I can do..
(If this comment was disrespectful, please report it.)

 
9/8/2006 12:57:22 AMSteppenwolfe

Rewrote it all.. gdi leaks are gone, uses a faster more stable subclasser, and bugs are gone.
This rev. (7.2) is crash proof, (opened/closed and swapped skins 50 times -no crash, no leaks)
Enjoy..
(If this comment was disrespectful, please report it.)

 
9/8/2006 3:22:28 AMLight Templer

John, as you know: You can't put the ghost back into the bottle ... ! ;-)
Plz fix the small bug in checkboxes ('no more checked' is shown only when mouse is over controls area. Leaving this area checks it aggain.) But once more: Great project! Only a few can see how many hours must be put into this ... Regards - LiTe
(If this comment was disrespectful, please report it.)

 
9/8/2006 8:18:20 AMenmity

i know you will be back;)
(If this comment was disrespectful, please report it.)

 
9/8/2006 9:42:08 AMHardStream Software Development

2.7.2 is actually completely compatable with WindowBlinds 5 :D I Wish I could vote again :P
(If this comment was disrespectful, please report it.)

 
9/8/2006 12:33:26 PMSteppenwolfe

Light, it is a small problem with checkbox, I will reupload it lator tonight..
(If this comment was disrespectful, please report it.)

 
9/8/2006 1:47:25 PMSteppenwolfe

Rollover problem fixed, (just wrong constant in sendmessage call), readded disabled text, fixed a problem w/ caption bar, and reuploaded.
Thanks to everyone who took the time to vote..
(If this comment was disrespectful, please report it.)

 
9/9/2006 6:47:02 AMenmity

i wish I can vote 10000000000 5 stars;)
(If this comment was disrespectful, please report it.)

 
9/9/2006 7:44:05 AMenmity

two bugs: 1.if i did not set the p_MenuImageList, you will find error when run; 2.if i set combobox's style to be dropdownlist, you will find that it did not correctly rendered.
(If this comment was disrespectful, please report it.)

 
9/9/2006 12:29:15 PMSteppenwolfe

Enmity,
On 1) In clsRCM::Attatch, Just remove first half of statement 'If Not m_vImageList Is Nothing Then' (I will fix it later).
2) Dropdown list not supported.
(If this comment was disrespectful, please report it.)

 
9/9/2006 4:44:02 PMSteppenwolfe

Also on clsRCMOpt::GXISubclass_WndProc, WM_LBUTTONUP switch statement has 'redraw_all' call remmed, unrem it, (done while debugging).
I'll let the little things accumulate and people can either fix them from these comments, or wait and in a few days, I'll post it with glitches fixed.
(If this comment was disrespectful, please report it.)

 
9/9/2006 6:58:56 PMM@rkS

Bravo, I also wish I keep vote again...well done and thanks.
(If this comment was disrespectful, please report it.)

 
9/9/2006 11:26:51 PMenmity

@Steppenwolfe
2.is there any possibility for you to add support for it?
(If this comment was disrespectful, please report it.)

 
9/10/2006 6:34:18 AMSooekd

@Steppenwolfe
Upadte 2.7.2 and 2.7.3 is really fix crash, but i have found problem with menu redraw. I think you need fix some problem next update. Some don't work on version 2.7.3. This is some bug i can found in version 2.7.3.
Before i choice menu select no bug
http://img174.imageshack.us/img174/6903/bugyz3.jpg
after i choice menu select and i found bug
http://img120.imageshack.us/img120/4872/bug1yx9.jpg

(If this comment was disrespectful, please report it.)

 
9/10/2006 12:34:55 PMSteppenwolfe

Sooekd,
Menu item problem does not happen to me on xp, so I have no way of knowing what it is, so you will have to figure it out on your own.
There is no bug in progressbar code, timer does not work when compiled but that is a well known bug in vb.
(If this comment was disrespectful, please report it.)

 
9/10/2006 1:13:55 PMSteppenwolfe

Enmity,
I am working on something else now.. so, do you want SGrid III, or for me to keep working on this project? ;o)
Why don't you just add support for list dropdown and send me the code? I will add it in on last bugfix.
(If this comment was disrespectful, please report it.)

 
9/11/2006 4:45:22 AMSooekd

Steppenwolfe,
I think my machice or WinXP have problem. I try test other machine and setup clean WinXP and VB + SP6 but menu item ever bug. I try fix bug
(If this comment was disrespectful, please report it.)

 
9/17/2006 6:14:20 AMRiccardo Cohen

Nice update, but still contains some bugs:
- Menubar buttons: click area is moved to right, so menu doesn't show when you click within it's own area.
- Command Buttons: Still flickering; mousedown doesn't work well; double click doesn't draw mousedown; mousehover doesn't work properly, do mouseover --> mousedown and hold it--> do mouseout and over again, you can see that mousedown effect doesn't work.

Regards Riccardo
(If this comment was disrespectful, please report it.)

 
9/17/2006 6:26:01 AMRiccardo Cohen

...also command button: holding mousedown on a button, it does mouse over and rejects the mouse down event, so it is drawing a mouse over button at first click.
Moreover when prg first start, the drawing of the button is gone. The button is drawing what is behind parent window. When you make an executable the problem is solved.

ps. double click is working now, sorry for the rush...

Regards Riccardo
(If this comment was disrespectful, please report it.)

 
9/17/2006 2:27:59 PMSteppenwolfe

Riccardo,
Not sure what you mean about menubar button, works fine here (98/me only partially supported btw).
Command buttons need a little work, but they do not flicker.. any other fine tuning, is now up to you.
(If this comment was disrespectful, please report it.)

 
9/17/2006 2:53:40 PMSteppenwolfe

For button down, add to clRCMCommand::GXISubclass_WndProc
Static bPressed As Boolean
On WM_MOUSEMOVE switch change to:
If Not bPressed Then
Control_State lHwnd, 3, tRect
Else
Control_State lHwnd, 1, tRect
End If
On WM_DRAWITEM switch clause:
case 16 add:
bPressed = False
case 17 add:
bPressed = True
(If this comment was disrespectful, please report it.)

 
9/17/2006 3:03:53 PMSteppenwolfe

Also people, command buttons _must_ be on a frame control (concession to double subclassing issue w/ Pauls subclasser), and they must have their style property set to 'graphical'.
(If this comment was disrespectful, please report it.)

 
9/17/2006 9:52:05 PMenigma

could you make an example of budget record management system?

(If this comment was disrespectful, please report it.)

 
9/17/2006 10:18:02 PMenmity

ok....you are leaving the dropdownlist style for us to finish:)
(If this comment was disrespectful, please report it.)

 
9/18/2006 6:59:03 AMenmity

finally, you got contest winner. and you really mean "final"? :)
(If this comment was disrespectful, please report it.)

 
9/18/2006 12:32:54 PMSteppenwolfe

Enmity,
I might do another bug update down the road.. but I am not adding any more features to project at this point.
(If this comment was disrespectful, please report it.)

 
9/18/2006 5:43:37 PMM@rkS

Thanks for the tips -> command buttons and frames :)
(If this comment was disrespectful, please report it.)

 
9/19/2006 1:31:35 AMT Jackson

I like your slider, plan doing a PC-Based Oscilloscope one of these days. Out of the ordinary, 'modern' dressing for it is definitely on the wish list. Have you ever considered a rotational control? How about multi-positional switches? They would be highly sought after controls for virtual instrumentation and music players.
(If this comment was disrespectful, please report it.)

 
9/19/2006 11:09:17 AMSteppenwolfe

Mark,
It's all in the notes..
T Jackson,
I don't really do uc's, but I saw a project here with controls like that, something to do with sound I think, (had a blue lcd style readout panel?)..
(If this comment was disrespectful, please report it.)

 
9/30/2006 5:48:24 AMSooekd

Hi Steppenwolfe
Final i fix RCM GII draw menu work on my machine. But i have a question i need you help me. I never using RCM GII 2.7.4 attach to MDI form. You can help me attach RCM to MDI Form. Thanks
(If this comment was disrespectful, please report it.)

 
9/30/2006 6:00:31 AMSooekd

Hi Steppenwolfe
How can attach drawtext to item and subitem for List View. Thanks
(If this comment was disrespectful, please report it.)

 
9/30/2006 11:49:35 AMSteppenwolfe

Sookd, mdi not supported, and I am not adding it. Drawtext in listview? Not sure what you mean exactly, but row font properties can be changed by subclassing WM_NOTIFY messages. Font and color can be manipulated via use of NMLVCUSTOMDRAW struct.
(If this comment was disrespectful, please report it.)

 
10/1/2006 5:37:50 AMSooekd

Thanks!!! I try change code work with MDI or SDI form but RCM GII have some bug and Crash. Bug fix http://img357.imageshack.us/img357/8282/bugcp7.jpg
(If this comment was disrespectful, please report it.)

 
10/1/2006 5:39:50 AMSooekd

I hope you support MDI
(If this comment was disrespectful, please report it.)

 
10/1/2006 3:32:28 PMSteppenwolfe

Sooekd
It is not same method to skin mdi as std form, hdc property is not exposed on child form. Try getdc to acquire dc, (but I doubt it will work). There are many problems with skinning mdi child forms, and I do not think it is practical. If you want methods, look through vbaccelerator Neoclass for example.
When I started this project, I knew almost nothing about graphics, and had to read other codes, translate c++ examples, and use msdn for api and methods.. that is how I learned, and if you want to build on this example, that is how you must learn. After all, that is why I put projects here, to share knowledge gained, and to teach others with examples, but would you be learning if I did all the work for you?
(If this comment was disrespectful, please report it.)

 
10/3/2006 3:47:33 AMPreben Ellebye

Seems very nice, but I got the message that a reference to rcmgt2.dll is missing? Have I done something wrong?
(If this comment was disrespectful, please report it.)

 
10/3/2006 5:32:53 AMJoaquin Marcher

its an incredible work!!!! GL mens
(If this comment was disrespectful, please report it.)

 
10/3/2006 5:35:44 AMSteppenwolfe

Preben
Compile it. Or reset demo project reference to dll project [prjRCMG2.vbp] and remove rcmgt2.dll reference (project > references).
(If this comment was disrespectful, please report it.)

 
10/3/2006 12:54:46 PMEduard Yakimov

I want a .NET version of RCM =)
(If this comment was disrespectful, please report it.)

 
10/4/2006 2:36:34 AMSteppenwolfe

Eduard
Try converting it, would probably run mostly as it is, (maybe even without conversion).. Namespace in .Net is mostly just a wrapper to api, so there is no need to convert api calls. I don't write in vb.net, and in borland or c# .net, would be very different, (pretty much rewriting from scratch).
If anyone wants to try to convert to vb .net though, I would be willing to help..
(If this comment was disrespectful, please report it.)

 
10/4/2006 2:15:35 PMWellington T. Marthas

Good Project !!!
... Convert to .NET uses the codeadivisor of microsoft !!!

Enjoy!
(If this comment was disrespectful, please report it.)

 
10/18/2006 9:11:10 AMSooekd

RCM can attach MDIForm but have some bug. MDIChild Form don't show when attach MDIForm, icon form don't show in MDIForm. Current version fix by me can attach MDIForm. I will try fix all problem and release nice skin. Thanks
(If this comment was disrespectful, please report it.)

 
10/31/2006 3:24:36 AMSooekd

How can attach MDIForm.
Public Const WM_MDICREATE = &H220
Public Const WM_MDIGETACTIVE = &H229
Public Const WM_MDIMAXIMIZE = &H225
Public Const WM_MDINEXT = &H224
Public Const WM_MDIRESTORE = &H223
Public Const WM_MDISETMENU = &H230
Public Const WM_MDITILE = &H226
But RCM Crash. When MDIForm Max i need attach?
http://img274.imageshack.us/img274/6099/mdibd8.jpg
How can attach two form MDIForm and MDIChildForm?
(If this comment was disrespectful, please report it.)

 
10/31/2006 9:35:18 AMSteppenwolfe

Sooekd,
I have told you, you can not attach mdi child with this! Parent can probably be skinned, but child is very problematic. Look at vbaccelerator neocaption, he tried to skin mdi child, and there is some code in there, but he never completed it, (why?, because he realized what I do, it is way too much hassle). Basically, you would have to write an entire new form skinning class just for mdi child, one that calculated the different metrics and positions of buttons and caption etc.
(If this comment was disrespectful, please report it.)

 
11/1/2006 1:19:49 AMSooekd

Hi
I found a Skin Engine you can development RCM GII like a Skin Engine
http://www.ksdev.com/skinengine_link/index.html
(If this comment was disrespectful, please report it.)

 
11/1/2006 5:52:42 AMSooekd

Hi, Steppenwolfe
I have change code RCM GII and attach MDI success but have some bug i will try fix. I need help for you.
I hope when final we will have a Skin Engine like WindowBlinds. Thanks
You see picture http://img149.imageshack.us/img149/8274/rcmmdihl9.jpg
(If this comment was disrespectful, please report it.)

 
11/1/2006 9:23:08 AMSteppenwolfe

Sooekd,
If you want to develop a winblinds type app, it has to be done in C++. Many of the techniques would be the same as in this code, but lib would have to be multithreaded. Would be a long development cycle, because windows blinds is a very complex app, made by talented development team, so there is a lot of work involved in making an app like this. Best way to write that would be to put the base app on sourceforge, hope it attracts some good talent to your team, and develop over the course of a year. Who knows, maybe I will do that next year, but right now, I have no time.
(If this comment was disrespectful, please report it.)

 
11/1/2006 9:26:20 AMSteppenwolfe

cont.
As for skinning mdi parent, this should not be too hard. If font is not being set, step to portion of menu class where font is changed, is it getting a value? Put a handler there, is there an error? Try setting font with sendmessagelong wm_setfont, try other things, you will figure it out..
(If this comment was disrespectful, please report it.)

 
11/2/2006 12:13:28 AMSooekd

Why not you don't development RCM GII continue?
(If this comment was disrespectful, please report it.)

 
11/2/2006 6:07:10 AMSooekd

Hi, Steppenwolfe
11/1/2006 I change code and development RCM GII attach to MDIForm and MDIChild Form Show Fix bug. I hope you will development RCM GII attach to MDIForm,... You can help me what get message ? attach to MDIForm. I have attach WM_SIZE when MDIChildForm show parent to MDIForm but don't success. I need you help development RCM GII is a Skin Engine good. I like it because i written by VB code. Thanks.
Fix Bug: http://img144.imageshack.us/img144/8450/rcmgiisuccesssz7.jpg
New bug: http://img138.imageshack.us/img138/8028/rcmgiinewbugjc3.jpg
I hope you will change code RCM GII and continue development. I think you want attach to MDIForm you don't get HDC from Form you can attach to MDIForm. When i don't get HDC from Form for draw icon i can attach to MDIForm.

(If this comment was disrespectful, please report it.)

 
11/5/2006 5:24:01 AMSooekd

Hi, Steppenwolfe
You can help me attach
Public Const WS_BORDER = &H800000
Public Const WS_CAPTION = &HC00000 ' WS_BORDER Or WS_DLGFRAME
Public Const WS_CHILD = &H40000000
Public Const WS_CHILDWINDOW = (WS_CHILD)
Public Const WS_CLIPCHILDREN = &H2000000
Public Const WS_DISABLED = &H8000000
Public Const WS_GROUP = &H20000
Public Const WS_ICONIC = WS_MINIMIZE
Public Const WS_MAXIMIZE = &H1000000
Public Const WS_MAXIMIZEBOX = &H10000
Public Const WS_MINIMIZE = &H20000000
Public Const WS_MINIMIZEBOX = &H20000
when MDIChild Form show?
I development RCM attach MDIForm and MDIChild Form 80%. I can't attch WS_MINIMIZEBOX when MDIChild show maxize. I need you help.
I think when MDIChild Form show Maxize we need attach WS_MINIMIZEBOX. Thanks
(If this comment was disrespectful, please report it.)

 
11/6/2006 5:26:42 AMSooekd

How make menu like this picture?
http://img176.imageshack.us/img176/4844/bugmenutp5.png
Thanks
(If this comment was disrespectful, please report it.)

 
11/9/2006 5:29:36 AMSooekd

Hi, Steppenwolfe
I Attach MDI form and MDIChild Form success. Now i wanna attach Status Bar and Toolbar you can help me development. I hope you reply and help me. Thanks
(If this comment was disrespectful, please report it.)

 
12/3/2006 7:46:47 AMSooekd

Hi, Steppenwolfe
Now i complect attach to MDI Form but i have some problem hope you will help me fix.
1/ How can attach Toolbar Control
2/ How can attach StatusBar Control
3/ How can show Tooltiptext when mouseover on Max, Min, Res button control.
I hope you will relpy for me. Thanks

(If this comment was disrespectful, please report it.)

 
12/14/2006 12:24:25 AMSooekd

Hi, Steppenwolfe
I have found a code skin good but code VC++ you can convert to RCM GII
http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=8026&lngWId=3
(If this comment was disrespectful, please report it.)

 
12/19/2006 1:11:36 PMChristudas Software Labs

i have a project for you. please contact me on christudas@christudas.com
(If this comment was disrespectful, please report it.)

 
1/4/2007 5:09:59 AMSooekd

Hi Steppenwolfe
Why you can't development RCM GII continue. I have develop and attach to MDIForm successed. You can help for me help more bug. If you want attach MDIForm you can did't need get HDC. You only get HWND Form. I can attach when i can't get hdc form. If need i will send code my development for you.
Fix bug:
Open clsRCM.cls
find: m_lHostDc = p_OParentObj.hdc
replace: 'm_lHostDc = p_OParentObj.hdc

find in function: Private Sub Set_Caption(lHdc As Long)
with: DrawText lHdc, m_sCapText, -1, tRect, &H1 Or &H20 Or &H4
add: Draw_Icon ( I drawicon for form replace Get_icon
and i attach MDIForm
http://img165.imageshack.us/img165/9078/124aa0.jpg
http://img186.imageshac k.us/img186/5518/2ht1.jpg
Thanks.

(If this comment was disrespectful, please report it.)

 
1/22/2007 1:04:08 AMSkyLiver

Change input language with ALT+SHIFT don't work!!!!
(If this comment was disrespectful, please report it.)

 
1/28/2007 9:13:43 PMcarson

hi soomekd
i'v encounter the same mdi problem,would you please send me a copy that u have solved the mid problem.
email:16service@gmail.com
thx advance
(If this comment was disrespectful, please report it.)

 
1/31/2007 7:27:06 AMSooekd

Hi, Steppenwolfe
Now i can attach MDI and MDIChild Form but i have problem with Menu. Menu can't redraw when i press F10 after mouseover menu can't draw.
(If this comment was disrespectful, please report it.)

 
2/1/2007 2:28:14 AMSooekd

Hi Steppenwolfe
Final you can help me. I want use menu standar of system windows. You can help me don't attach menu. I try remove attach menu but RCM GII don't draw menu standar. Now i can attach all form. SDI form, MDI form,... but i have problem with redraw menu when RCM attach menu. If attach menu when application run. and i press F10 after move mouseover to menu and esc, after i open menu, menu can't paint. You can test on your system. I need you help i fix this problem. Thanks
(If this comment was disrespectful, please report it.)

 
2/1/2007 3:00:32 AMSooekd

Hi Steppenwolfe
http://img469.imageshack.us/img469/7899/f10st8.jpg

http://img294. imageshack.us/img294/1821/f101ou7.jpg

http://img175.imageshack.us/img175/420/f102tz8.jpg
< BR>Final
you can help me. I want use menu standar of system windows. You can help me don't attach menu. I try remove attach menu but RCM GII don't draw menu standar. Now i can attach all form. SDI form, MDI form,... but i have problem with redraw menu when RCM attach menu. If attach menu when application run. and i press F10 after move mouseover to menu and esc, after i open menu, menu can't paint. You can test on your system. I need you help i fix this problem. Thanks
(If this comment was disrespectful, please report it.)

 
5/3/2007 1:14:49 PMChinker

Hi, Steppenwolfe
i use RCM for Form Skin,the effect is wonderful, but i find a bug, mabey it is small.that is the Textbox and ComboBox control in a MDIChild can not be Focused by mouse,when i click leftbutton of mouse in textbox Edit area, i can not select anything.
in Non-MDIChild form, there is no this bug.
i need your help to fix it,thank you.
(If this comment was disrespectful, please report it.)

 
9/8/2007 3:19:49 PMRuturaaj

Hi!

Well, I know by far you have worked on this module extremely well and there are so many new features added to it. It also looks like you've stopped working on this project. I tried 2.7 version and it gives me trouble with Modal forms. Same was the issue with your earlier versions. When the Skinned form is shown Modal and you click somewhere else, of course the modal form blinks. Here, the original Form comes out of Skin applied using this DLL. In earlier version, the skin images were completely lost; in this version, the title bar skin image remains there; but you can see the original Windows Form title bar popping out slightly below the title bar image. Don't know what's the reason for this and honestly speaking, I'm not as good coder as you're. For my satisfaction, I will surely attempt to see if I can locate the cause and resolve this issue; but if you can look into it then it will be great! Thanks.
(If this comment was disrespectful, please report it.)

 
9/8/2007 3:22:14 PMRuturaaj

I think you've my email address as we have discussed Skinning issue before. But here it is for your ready reference: mailme_friends@yahoo.com ... let me know if you would like to continue to work on it.
(If this comment was disrespectful, please report it.)

 
9/10/2007 4:06:12 PMSteppenwolfe

Ruturaaj,
I do not code in vb anymore, but I will send you version I was using. Maybe you can add mdi support and republish.
(If this comment was disrespectful, please report it.)

 
12/2/2007 6:07:21 AMRic

If scrollbar is like Mac's aqua scrollbar, pictures will be stretched ugly. the final RCM can still be revised.
(If this comment was disrespectful, please report it.)

 
12/14/2007 12:20:43 PMThe_5p3ctrum

Very good
but message box and commanddialog :s:s
(If this comment was disrespectful, please report it.)

 
2/28/2008 1:55:21 AMCheet Khan

Very very good and excellent,
I think if you use a project as a subclasser it will be better......
(If this comment was disrespectful, please report it.)

 
4/26/2008 5:56:13 PMColin

Problem with focus:

Add a menu item to frmMain and give it a keybaord shortcut. Add some code so that a messagebox appears when the menu is selected. Select the menu option with the mouse and the messagebox appears AND HAS FOCUS. Press the keyboard shortcut to teh menu, e.g. CTRL-M and the message box appears but does not have focus....

Awesome piece of code nonetheless but if anybody can help with that problem it would be great as, strange as it may sound, this behaviour is very important for my app....
(If this comment was disrespectful, please report it.)

 
5/24/2011 9:56:15 AMPrashantN

Very good
Excellent Job
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.