Home All Groups Group Topic Archive Search About
Author
24 Jun 2009 6:56 PM
chris
I'm a VB.net developer and I'm finding good C Sharp forums hard to come by,
so please let me know if this is the wrong place.

I've create a C Sharp VS2008 Windows App that captures the screen and allows
cropping, drawing, and text. The issue is that I'm trying to add an "undo"
button. I can easily undo a crop but when a user draws (a free pen) or place
text on the image (Picturebox ctrl), I can't undo? After the intial capture I
take the img and place it into another, I've tried clone, etc. Then if the
user presses undo button I attempt to take that image and put into the
Picture box.
I thought about using an ImageList but that seems to stop at 256x256, a
screen capture is much larger than that. This isn't a pint refesh issue, I
use refresh, etc.
Again, after crop I can revert back (I assume since the underlying img is
still there in the object). Thanx.
Help?

Author
24 Jun 2009 7:17 PM
Jeff Johnson
"chris" <ch***@discussions.microsoft.com> wrote in message
news:567C2B41-556C-42A2-960D-69EB2BB99EED@microsoft.com...

> I'm a VB.net developer and I'm finding good C Sharp forums hard to come
> by,
> so please let me know if this is the wrong place.

For reference, this isn't a "forum," it's a USENET newsgroup. It just looks
like a Web forum because you're using the Microsoft Web interface. FYI.

Show quoteHide quote
> I've create a C Sharp VS2008 Windows App that captures the screen and
> allows
> cropping, drawing, and text. The issue is that I'm trying to add an "undo"
> button. I can easily undo a crop but when a user draws (a free pen) or
> place
> text on the image (Picturebox ctrl), I can't undo? After the intial
> capture I
> take the img and place it into another, I've tried clone, etc. Then if the
> user presses undo button I attempt to take that image and put into the
> Picture box.
> I thought about using an ImageList but that seems to stop at 256x256, a
> screen capture is much larger than that. This isn't a pint refesh issue, I
> use refresh, etc.
> Again, after crop I can revert back (I assume since the underlying img is
> still there in the object). Thanx.

Just use a List<Image> object instead of an ImageList.
Are all your drivers up to date? click for free checkup

Author
25 Jun 2009 12:34 AM
vanderghast
This is not a USENET newsgroup either, accordingly to Microsoft, at least.
There is no binding to USENET rules (whatever they can be), as example.


Vanderghast, Access MVP


Show quoteHide quote
"Jeff Johnson" <i.get@enough.spam> wrote in message
news:OvlbzBQ9JHA.4376@TK2MSFTNGP04.phx.gbl...
> "chris" <ch***@discussions.microsoft.com> wrote in message
> news:567C2B41-556C-42A2-960D-69EB2BB99EED@microsoft.com...
>
>> I'm a VB.net developer and I'm finding good C Sharp forums hard to come
>> by,
>> so please let me know if this is the wrong place.
>
> For reference, this isn't a "forum," it's a USENET newsgroup. It just
> looks like a Web forum because you're using the Microsoft Web interface.
> FYI.
>
>> I've create a C Sharp VS2008 Windows App that captures the screen and
>> allows
>> cropping, drawing, and text. The issue is that I'm trying to add an
>> "undo"
>> button. I can easily undo a crop but when a user draws (a free pen) or
>> place
>> text on the image (Picturebox ctrl), I can't undo? After the intial
>> capture I
>> take the img and place it into another, I've tried clone, etc. Then if
>> the
>> user presses undo button I attempt to take that image and put into the
>> Picture box.
>> I thought about using an ImageList but that seems to stop at 256x256, a
>> screen capture is much larger than that. This isn't a pint refesh issue,
>> I
>> use refresh, etc.
>> Again, after crop I can revert back (I assume since the underlying img is
>> still there in the object). Thanx.
>
> Just use a List<Image> object instead of an ImageList.
>
>
Author
25 Jun 2009 2:05 AM
Family Tree Mike
"vanderghast" <vanderghast@com> wrote in message
news:A2B02647-E112-444B-A5D0-EE73942BABFC@microsoft.com...
> This is not a USENET newsgroup either, accordingly to Microsoft, at least.
> There is no binding to USENET rules (whatever they can be), as example.
>
>
> Vanderghast, Access MVP
>


According to
http://www.microsoft.com/library/gallery/components/wn/3/locales/help/help_en-US.htm#GettingStarted,
in particular the "About the Web-based Newsreader" section, it is USENET.
Many of us are using NNTP clients.  What are you refering to that says it is
not a USENET group?

--
Mike
Author
25 Jun 2009 12:52 PM
vanderghast
It follows the NNTP protocol, but is not formely a member of USENET
"organisation" (if such thing exists) as it is not a member of 'comp.*'  or
'alt.*' like hiearchy, but of 'microsoft.*'. This is a subtle difference,
mostly that while the NNTP protocol is respected, how it is used, by the
various users, is mostly under Microsoft 'supervision' (as far as the NNTP
protocol allows it). In fact, many years ago, Microsoft representatives were
clearly stating that their newsgroups were NOT USENET newsgroups, but that
is a long time I haven't seen them posting anything about it.

Vanderghast, Access MVP


Show quoteHide quote
"Family Tree Mike" <FamilyTreeM***@ThisOldHouse.com> wrote in message
news:905E6EFB-DB5B-46DF-BE92-1C9AA64C39F5@microsoft.com...
> "vanderghast" <vanderghast@com> wrote in message
> news:A2B02647-E112-444B-A5D0-EE73942BABFC@microsoft.com...
>> This is not a USENET newsgroup either, accordingly to Microsoft, at
>> least. There is no binding to USENET rules (whatever they can be), as
>> example.
>>
>>
>> Vanderghast, Access MVP
>>
>
>
> According to
> http://www.microsoft.com/library/gallery/components/wn/3/locales/help/help_en-US.htm#GettingStarted,
> in particular the "About the Web-based Newsreader" section, it is USENET.
> Many of us are using NNTP clients.  What are you refering to that says it
> is not a USENET group?
>
> --
> Mike
Author
25 Jun 2009 1:28 PM
Jeff Johnson
"vanderghast" <vanderghast@com> wrote in message
news:0AFDC95E-2340-422A-AC15-BB1104739DC1@microsoft.com...

> It follows the NNTP protocol, but is not formely a member of USENET
> "organisation" (if such thing exists) as it is not a member of 'comp.*'
> or 'alt.*' like hiearchy, but of 'microsoft.*'. This is a subtle
> difference, mostly that while the NNTP protocol is respected, how it is
> used, by the various users, is mostly under Microsoft 'supervision' (as
> far as the NNTP protocol allows it). In fact, many years ago, Microsoft
> representatives were clearly stating that their newsgroups were NOT USENET
> newsgroups, but that is a long time I haven't seen them posting anything
> about it.

Egad. Let me go get some glue to put those split hairs back together....

USENET has gone the way of Kleenex and Band-Aid. It's a generic term now.

Bookmark and Share