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

Search:

Type: Posts; User: Traps

Page 1 of 12 1 2 3 4

Search: Search took 0.02 seconds.

  1. Re: Appending colored text to a richtextbox?

    I dont know why, but I GOT IT!


    Dictionary_RTB(sender).AppendText(Dictionary_Output(sender));
    string tmp0 = Dictionary_Output(sender);

    // This text formatting code is...
  2. Re: Appending colored text to a richtextbox?

    OMG, why doesnt this work, please help me.



    tmp0 = "Microsoft Windows [Version 6.0.6001]"
    tmp = 37

    this is the FIRST time that this code is hit when I run my program. Prior to that,...
  3. Replies
    6
    Views
    7,187

    Re: Get hwnd of a control in another application.

    Thanks, but I dont need to ask in vb forum, as vb=c#, and any source code I provide you will be in c#. As far as using SPy++ thats impossible, I dont know what windows the enduser will be sending...
  4. Replies
    6
    Views
    7,187

    Re: Get hwnd of a control in another application.

    Hey, thanks I'll definately check out those links. Funny you mention vb, because I am writing this in vb. :)

    Remember I'm trying to get the hwnd for any control on any application, I'm not going...
  5. Replies
    6
    Views
    7,187

    Re: Get hwnd of a control in another application.

    I think FindWindowEx will do it, any ideas on the parameters? Here's what I got so far:

    FindWindowEx(GetForegroundWindow(), null, null, nulll);

    and its not much. if spy++ can do it so can...
  6. Replies
    6
    Views
    7,187

    Get hwnd of a control in another application.

    I've done this a couple years ago, but I certainly dont remember what API's I used. Anyone know off had on how to do it?
  7. Re: Appending colored text to a richtextbox?

    Well, the formatting sticks, IF it gets applied, so its still not working correctly. Here's my code:


    private void UpdateText(clsServer sender)
    {
    try {
    ...
  8. Re: Appending colored text to a richtextbox?

    Didnt see your post. Until now, I think that might do it. At least its not losing the formatting now by using the append... Thanks, this should take care of it. I'll be sure to rate ya for it, and...
  9. [RESOLVED] Appending colored text to a richtextbox?

    The thread title is pretty self explanitory. I'd think this would be easy, but my approaches havent worked. Any ideas?

    I have an RTB that is filled line by line via a console application's...
  10. Replies
    2
    Views
    3,341

    vb.net handles vs addhandler

    I am aware that I'm posting vb specific keywords in a c# forum, and I am confident that the experts here do not have an issue with this. I am a preferred c# developer, that is to say, I prefer c# (I...
  11. Re: Detect vertical scroll in picturebox?

    I saw the line "create your own class, and inherit VScrollbar", then glanced at your code. I thought you were like perhaps setting focus to the vscrollbar, and using the mousewheel event of...
  12. Re: Detect vertical scroll in picturebox?

    Bah. The answer is simple and here it is in vb (yes I was writing it in vb for another forum. C# is my one true love though :))


    Public Class Form1
    Private pb As New PictureBox
    ...
  13. Re: Detect vertical scroll in picturebox?

    No, that sounds more like a hack than a solution.

    This is close, but not quite right, as I need to know when the picturebox has focus.


    using System;
    using System.Collections.Generic;...
  14. Replies
    5
    Views
    761

    Re: Declaring pointers

    I feel incredibly stupid after reading darwen's post. More so than usual. You are one smart person.
  15. [RESOLVED] Detect vertical scroll in picturebox?

    Do I have to pinvoke to do this?

    I tried


    public partial class Form1 : Form
    {
    public Form1()
    {
    InitializeComponent();
  16. Replies
    4
    Views
    974

    Re: Listview Sub Item Edit

    Hi, you need to first determine the top and left edge values for the container of your listview (this may be a form if it is, then ignore these values). Next you determine the left and top edge of...
  17. Replies
    4
    Views
    580

    Re: How to make something like Script#

    Your in the c# forum, so I assume you want to write this in c#. You will need to create your own .exe Basically you will be creating your own editor. It will have a textbox, it will detect each...
  18. Replies
    13
    Views
    1,105

    Re: Getting started with C#

    Agreed. We think a like on opposite sides of the world. Now go learn WPF so you can teach me in codeguru's new WPF forum :lol:. We need some WPF guru's here, and fast! :thumb:

    I'm still trying...
  19. Re: Prevent Two Decimal Points in Textbox?

    private void textBox1_KeyPress(object sender, KeyPressEventArgs e)
    {
    if (e.KeyChar == '.')
    {
    if (textBox1.Text.Contains("."))
    {
    ...
  20. Thread: Hello WPF!

    by Traps
    Replies
    9
    Views
    3,256

    Re: Hello WPF!

    What is the advantage.... muahahaha

    Look at this:
    http://www.damonpayne.com/content/binary/wpfSlant12.jpg

    Or this:
    http://storage.developerzen.com/WPFGA5.jpg

    Perhaps this:...
  21. Replies
    13
    Views
    1,105

    Re: Getting started with C#

    Where not just speaking about video learning here. Where talking about the Microsoft learning path. Most of them come with :
    Video
    Transcript
    Project Code files
    Study Guide and Exercises
    ...
  22. Re: Modify .TEXT property from Event Handler

    Try this:


    // Set text boxes for start of job
    txtStatus.Text = "Started ...";
    textBox1.Text = "";
    txtStatus.Refresh();
    textBox1.Refresh();
    // and for good measure...
  23. Replies
    13
    Views
    1,105

    Re: Getting started with C#

    toraj58,

    I agree with you, and I disagree with you. The point that I disagree on is first learning .net. I honestly dont see ANYTHING better than the development path provided by microsoft in...
  24. Thread: Hello WPF!

    by Traps
    Replies
    9
    Views
    3,256

    Hello WPF!

    I am very happy to see codeguru hosting a dedicated WPF forum. I hope it takes off ( It should! all the experts here seriously need to start thinking about WPF, if they want to preserve their...
  25. Replies
    2
    Views
    4,201

    Re: Accessing a control from a button click - C#

    Accessing the control is not exactly the same. You will learn. I am learning as well. Consider "attached properties" and "dependency properties". WPF is a completely different beast from your...
Results 1 to 25 of 283
Page 1 of 12 1 2 3 4


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center