1:1 MSPaint clone - not ? but !
Moderator: Moderator Team
Re: 1:1 MSPaint clone - not ? but !
hey cool , great idea
one sugesstion:
i tested your tool with wine/linux and saw the buttons are radio buttons with overlaying icons ... probably there are real buttons better (to use with wine )
[ external image ]
one sugesstion:
i tested your tool with wine/linux and saw the buttons are radio buttons with overlaying icons ... probably there are real buttons better (to use with wine )
[ external image ]
Re: 1:1 MSPaint clone - not ? but !
Opening and saving bitmaps with the win32 api is very easy if you've used DIBs (which I hope is the case)gyROS wrote: The reason, for which I want to use IPicture in the future actually is not to work around bugs, but to greatly ease the implementation of the open/save functions. As I already mentioned it already serves a save to stream function which outputs the data the way it is stored in a file.
Bugzilla Style
Summary: Bug in pen tool code.
Bug#: -1
Product: Paint Clone
Component: Win32
Status: UNCONFIRMED
Description:
The pen tool behaves oddly when the user clicks and drags from the menu bar onto the canvas area.
Steps to reproduce:
+ Open Projekt1.exe
+ Click and drag the mouse from the grey area on the right of the colour bar at the top to somewhere on the canvas.
+ A line will be drawn from the top left of the canvas to wherever you released the left mouse button.
It seems that doing this when the pen tool has already been used normally has the line originate from wherever the last pen-line ended.
Tested using bootcd-WindowsServer2008SP1-rel.iso
Bug#: -1
Product: Paint Clone
Component: Win32
Status: UNCONFIRMED
Description:
The pen tool behaves oddly when the user clicks and drags from the menu bar onto the canvas area.
Steps to reproduce:
+ Open Projekt1.exe
+ Click and drag the mouse from the grey area on the right of the colour bar at the top to somewhere on the canvas.
+ A line will be drawn from the top left of the canvas to wherever you released the left mouse button.
It seems that doing this when the pen tool has already been used normally has the line originate from wherever the last pen-line ended.
Tested using bootcd-WindowsServer2008SP1-rel.iso
Re: 1:1 MSPaint clone - not ? but !
»Forward Agency NPO
In progress we (always) trust.
In progress we (always) trust.
Re: 1:1 MSPaint clone - not ? but !
@hefner:
I've no idea why the program behaves that way in your wine. In mi installation (openSUSE 11.0, no idea which wine version) it looks exactly the way it looks in windows.
I use a group of buttons styled with BS_AUTORADIOBUTTON and BS_PUSHLIKE, to make it a radio group looking like a group of pushbuttons.
It appears to me (although I did not see any code), that msPaint does it the same way and that it's impossible to do it with normal pushbuttons (it wouldn't look like msPaint anymore)
I've no idea why the program behaves that way in your wine. In mi installation (openSUSE 11.0, no idea which wine version) it looks exactly the way it looks in windows.
I use a group of buttons styled with BS_AUTORADIOBUTTON and BS_PUSHLIKE, to make it a radio group looking like a group of pushbuttons.
It appears to me (although I did not see any code), that msPaint does it the same way and that it's impossible to do it with normal pushbuttons (it wouldn't look like msPaint anymore)
Re: 1:1 MSPaint clone - not ? but !
@GoBusto
I fixed it. I'll also update the uploaded exe.
I fixed it. I'll also update the uploaded exe.
Re: 1:1 MSPaint clone - not ? but !
I know, i addle the adour about the paint clon, but the new paint(under Windows 7) use Ribbon.
It is not a long time to support Ribbons.
It is not a long time to support Ribbons.
Re: 1:1 MSPaint clone - not ? but !
It definitelyl doesn't, it uses normal push buttons.gyROS wrote: I use a group of buttons styled with BS_AUTORADIOBUTTON and BS_PUSHLIKE, to make it a radio group looking like a group of pushbuttons.
It appears to me (although I did not see any code), that msPaint does it the same way and that it's impossible to do it with normal pushbuttons (it wouldn't look like msPaint anymore)
It sounds to me like you're using radiobuttons and painting over them. Not exactly good practice.
If you come to IRC, we can guide you on how to do things correctly.
Re: 1:1 MSPaint clone - not ? but !
painting over them?! definetly not!
I create a valid instance of the "BUTTON" class using CreateWindowEx and only tell windows through the parameters to create buttons that act like radio buttons but look like push buttons.
I do not do any ugly painting so far.
I create a valid instance of the "BUTTON" class using CreateWindowEx and only tell windows through the parameters to create buttons that act like radio buttons but look like push buttons.
I do not do any ugly painting so far.
Re: 1:1 MSPaint clone - not ? but !
Maybe Wine code is translating in a wrong way the act as radiobuttons,and that´s why Wine is drawing them as radiobuttons.
Maybe also is Wine hack code ...
Maybe also is Wine hack code ...
Re: 1:1 MSPaint clone - not ? but !
i tested paint again on an other pc, with the same linux-distro and the same wine (1.0.13) and there the buttons are ok ...
hmm ... i dont know why ....
hmm ... i dont know why ....
Re: 1:1 MSPaint clone - not ? but !
No Ribbon UI please.be59 wrote:I know, i addle the adour about the paint clon, but the new paint(under Windows 7) use Ribbon.
It is not a long time to support Ribbons.
if you ask why, please look this:
http://www.blog.cadnauseam.com/2008/06/ ... he-ribbon/
Re: 1:1 MSPaint clone - not ? but !
But the question, do ROS want to be full compabality without exception or this compability has exceptions.
Re: 1:1 MSPaint clone - not ? but !
I think what you mean is not a question of compatiblity, but a question of presenting a user interface people are familar with. By rebuilding things that nobody knows or even nobody wants, we make the whole thing useless.
However I've now (re-)implemented the undo / redo functions, so that they are working perfectly now.
One more time the link to the exe:
http://www.freenet-homepage.de/meinstuss/Projekt1.exe
However I've now (re-)implemented the undo / redo functions, so that they are working perfectly now.
One more time the link to the exe:
http://www.freenet-homepage.de/meinstuss/Projekt1.exe
Who is online
Users browsing this forum: No registered users and 33 guests