Thread: Dumb editbox problem ...

  1. #1
    Registered User
    Join Date
    Nov 2007
    Posts
    11

    Dumb editbox problem ...

    Hello !

    I have a kinda stupid question, but i'm stuck with it. I'm trying to enter some txt to editbox control within another program. That editbox process input after user enters text and hits enter . Please note that there is NO button associated with processing, there is only editbox. Ofc, I can place text in it, but I cant simulate pressing enter, so how do I do that? I remembered now that I didn't try to add \r\n and I hope it ain't something stupid like that, I already lost hour or two on it =( ( can't try it now, i'm afk =)

    I'm working in lccwin32.

    Thx in advance!
    Last edited by xlines; 11-23-2007 at 08:45 PM.

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981

  3. #3
    Registered User
    Join Date
    Nov 2007
    Posts
    11
    Quote Originally Posted by Codeplug View Post
    Give this a try.
    ...
    gg
    Cool, I'll give it a try! Thx!
    Last edited by xlines; 11-23-2007 at 09:19 PM.

  4. #4
    Registered User
    Join Date
    Nov 2007
    Posts
    11
    Quote Originally Posted by xlines View Post
    Hello !

    ...
    Followup : oh yeah ... its solved as easy as SendMessage (hwndCtrl, WM_CHAR,13,0); I knew its something dumb as this.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Someone having same problem with Code Block?
    By ofayto in forum C++ Programming
    Replies: 1
    Last Post: 07-12-2007, 08:38 AM
  2. A question related to strcmp
    By meili100 in forum C++ Programming
    Replies: 6
    Last Post: 07-07-2007, 02:51 PM
  3. WS_POPUP, continuation of old problem
    By blurrymadness in forum Windows Programming
    Replies: 1
    Last Post: 04-20-2007, 06:54 PM
  4. Laptop Problem
    By Boomba in forum Tech Board
    Replies: 1
    Last Post: 03-07-2006, 06:24 PM
  5. Replies: 5
    Last Post: 11-07-2005, 11:34 PM