CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: TBBW

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    185

    Re: Unable to add event handler

    @Arjay,

    I do the custom window step by step.
    I wanted a resizeable window and dragable without the standard windows borders.
    It can be done with 9 routines. 1 for dragging and 8 for the resize...
  2. Replies
    5
    Views
    185

    Re: Unable to add event handler

    @Arjay,

    The namespace issue did the trick, everything is working as it should.
    But there is one little thing 'missing'.
    The Dropshadow is not avail anymore, I'm unable to draw outside the...
  3. Replies
    5
    Views
    185

    Re: Unable to add event handler

    Hi Arjay,

    Long time on 'see' !!
    Thanks for the info will have a go.
    have some training video's on the subject.

    regards,

    ger
  4. Replies
    5
    Views
    185

    Unable to add event handler

    Hi all,

    see attachment.
    in The Main window I can place a button, but I cannot add an event handler....
    I Use custom chrome to remove the window borders but keep the resize option.
    Also when I...
  5. Replies
    1
    Views
    227

    Re: Resize Borderless window

    Hi All,

    Did some digging and some coding.
    Came up with the following, see attachment.
    It does not do all the things as I want to, play with it and you see what I mean.
    The RightBottomThumb...
  6. Replies
    1
    Views
    227

    Resize Borderless window

    Hi All,

    Yes I know has been asked before...
    But
    Now I use Blend in Combi with WPF (Framework/Net 4.5) (Blend version 5.xx and VS 2012)
    I made a borderless window NOT a form, in blend.
    set...
  7. WPF Turn of the standard microsoft visual style(s)

    Hi All,

    I made a RichTextBox in MSVS2012/Blend -4-.
    How do I disable the standard windows styles.
    When the mouse is over the text-box the borders turn blue.
    How do I turn this off.
    Can this be...
  8. WPF Turn of the standard microsoft visual style(s)

    Hi All,

    I made a RichTextBox using Blend and MSVS 2012.
    Now I want to disable/turn off the standard microsoft visual styles.
    Is there a one button does it all thing, or do I have to run through...
  9. Thread: Scrollbar

    by TBBW
    Replies
    3
    Views
    337

    Re: Scrollbar

    Hi Arjay,

    Thanks for the reply, I'm trying to find my way in WPF as we speak. It is not easy I must say.....

    regards,

    Ger
  10. Thread: Scrollbar

    by TBBW
    Replies
    3
    Views
    337

    Re: Scrollbar

    Hi All,

    A little test program, I changed the upper scroll button with a red dot image.
    I used WPF in combination with Blend 4.

    regards,

    ger
  11. Thread: Scrollbar

    by TBBW
    Replies
    3
    Views
    337

    Scrollbar

    Hi All,

    I want to change the standard scrollbars. Like in the RichTextBox Object for example.
    By change I mean the button pictures and I would like to change the Slider background etc.

    Can...
  12. Replies
    10
    Views
    565

    Re: Dialogresult for picturebox

    hi Arjay,

    here is the zipper of a buttonTester.
    with the mentioned unwanted effects.

    regards,

    Ger
  13. Replies
    10
    Views
    565

    Re: Dialogresult for picturebox

    Hi Arjay,

    Yep Button would be better, but it gives me a lot unwanted site efects.....
    I will posts a zip of an example shortly.

    regards,

    Ger
  14. Replies
    2
    Views
    268

    Re: Closing The Calling Dialog

    Hi Arjay,

    Thanks for the reply.

    Solved this one, you can not dispose the 'first' Form.
    It will close your app.
    You will have to hide the first/main one there after you can do whatever you...
  15. Replies
    10
    Views
    565

    Re: Dialogresult for picturebox

    hi Arjay,

    Thanks for the reply!!

    Now it is working like it should.
    and so easy....

    Now I want to go one step futher.
    I want to make use of the TAB key, just like 'normal' buttons.
  16. Replies
    2
    Views
    268

    Closing The Calling Dialog

    Hi All,

    How do I close a Form from which a next form was created.
    So Form1 creates Form2 (by pushing next button), and then Form1 has to be "closed/disposed"

    See also the Zipper.

    regards,
    ...
  17. Replies
    10
    Views
    565

    Re: Dialogresult for picturebox

    Hi All,

    Here is the Zipper of a Sample project

    Regards,

    Ger
  18. Replies
    10
    Views
    565

    Re: Dialogresult for picturebox

    Hi All,

    After some digging I came up with this;



    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Diagnostics;
  19. Replies
    10
    Views
    565

    Re: Dialogresult for picturebox

    Hi All,

    Came up with this:



    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Diagnostics;
  20. Replies
    1
    Views
    255

    Re: How To Move a Border-less Dialog

    Hi All,

    Came up with the following:


    // Move Dialog
    private void Dialog1_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
    {
    Down = true;
    }
  21. Replies
    10
    Views
    565

    Dialogresult for picturebox

    Hi All,

    the Button class is using, among other, the DialogResult Property, Which I use and it works great!
    But...
    know I whant to use DialogResult in combination with a PictureBox, which I use...
  22. Replies
    1
    Views
    255

    How To Move a Border-less Dialog

    Hi all,

    As the title sugest, it is -standard- not possible to move a boderless dialog
    (Keep mouse button depressed and move the cursor)
    You have to make it.
    So I came up with:



    private...
  23. Replies
    9
    Views
    654

    Re: How to check which button was pressed

    Thanks !!!!

    Regards,

    G.
  24. Replies
    9
    Views
    654

    Re: How to check which button was pressed

    Thanks all for the replies,

    First, for some strange reason there is a duplicate post, please do not reply to that one !!

    As I mentioned in the parrallel post I only use these short snip


    ...
  25. Replies
    9
    Views
    654

    Re: How to check which button was pressed

    Hi Great,

    Thanks for the info I only inserted the following lines:



    DialogResult dr = new DialogResult();
    LicenseAgreement LA = new LicenseAgreement();
    ...
Results 1 to 25 of 118
Page 1 of 5 1 2 3 4



HTML5 Development Center

Click Here to Expand Forum to Full Width