News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

User defined shapes?

Started by hfheatherfox07, April 29, 2011, 03:20:31 AM

Previous topic - Next topic

hfheatherfox07

Quote from: dedndave on April 29, 2011, 04:47:25 AM
these aren't the knobs i was looking for, but similar
http://www.c-sharpcorner.com/UploadFile/desaijm/KnobControlusingWindowsForms11182005004925AM/KnobControlusingWindowsForms.aspx
more from the same guy
http://www.codeproject.com/KB/cpp/knobcontrol.aspx

the ones i remember had a variety of controls
you also had the option of adding a slider along side the knob - different colors/sizes, etc

maybe when i become a bit more proficient, i may attack something like that   :P





couldn't resist - my current rig....

it would be cool to have a library to make a panel like that - meters and all   :P

This would be a cool Idea...
I found some example of circular rotation... I am not sure if it will help or not but I will upload them...
I also found an example of a working meter ASM but it is in C language here:
http://www.codeproject.com/KB/miscctrl/3dmeter.aspx

My idea was to make an animated gif meter using bmp's I will attach an animation example

Also for the LCD display there is an example in the MASM examples in MASM v9

Finally I have seen example like this ( not ham radios) ...but I know that you need to use any software that you like ( most people use adobe photo shop) to create a main skin that is missing all the buttons and than each button set separately ...see  main+button bpm inside.zip to see what I mean


Also than just create a region for the main skin ( don't include the buttons area's as part of the skinning other wise the buttons wont show there! ) that is why I made the area to region in mangenta

hfheatherfox07

here is the rest of attachment

hfheatherfox07

Sorry it would let me upload more than a certain size so here is one more ( animate using bmp -you can use that to make the meter)

dedndave

when i have a large file i put it on a fileshare and provide a link
i use www.4shared.com, but there are a number of free ones

dedndave

also, i use http://imageshack.us/ for free image hosting



unfortunately, they only store the first frame of an animated gif for some reason   :'(

dedndave

you can rename the image to .ZIP and attach it, then post the link as an image



the attachment is the above GIF image renamed to ZIP

hfheatherfox07

Quote from: dedndave on May 02, 2011, 01:15:45 AM
when i have a large file i put it on a fileshare and provide a link
i use www.4shared.com, but there are a number of free ones


I thought I 'd upload  7-zip portable for you:

http://www.megaupload.com/?d=SNUIPKMP

No need to install it ... I added a fun Icon to the folder  :bg

This little puppy will compress big files pretty small ( you can set the compression levels ) it does .zips  :bg

I forgot I had this LOL  ::)

dedndave

i use 7-zip for all kinds of things
you can also use it for CAB and MSI files, as well as ISO files   :U

hfheatherfox07

Quote from: dedndave on April 29, 2011, 04:47:25 AM
these aren't the knobs i was looking for, but similar
http://www.c-sharpcorner.com/UploadFile/desaijm/KnobControlusingWindowsForms11182005004925AM/KnobControlusingWindowsForms.aspx
more from the same guy
http://www.codeproject.com/KB/cpp/knobcontrol.aspx

the ones i remember had a variety of controls
you also had the option of adding a slider along side the knob - different colors/sizes, etc

maybe when i become a bit more proficient, i may attack something like that   :P





couldn't resist - my current rig....

it would be cool to have a library to make a panel like that - meters and all   :P

I remembered this post ...I found a rotating knob ASM  I think it is Fasm ...but the only one I have seen of an actual rotating knob ...if you want it


dedndave

well - that one is vector generated
but, a rotating BMP might look nice
it does give some ideas, though - thanks

MichaelW

I don't know how to do this for a dialog, but for an application window you should be able to achieve the transparency effect by specifying zero for the hbrBackground member of WNDCLASS or WNDCLASSEX.
eschew obfuscation