Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
T

Tombo

@Tombo
About
Posts
8
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Microsoft Error Message
    T Tombo

    Anyone know what causes this error? "Please tell Microsoft about this problem"{

    IT & Infrastructure help question

  • MS Server 2003 SP1
    T Tombo

    I had a similar problem. I found I had to use the new "sockets" libs and API.(WINSOCK2)

    C / C++ / MFC help sysadmin security question workspace

  • Visual C++ and C programming
    T Tombo

    I think this is what you want to do? { FILE *flog; i = 10 ; j = 20 ; k = i+j ; flog = fopen("c:\\directory\\test.txt", "w"); fprintf( flog,"%s, %d\n","k=",k ); fclose ( flog ); } If you look in the directory called "directory" you should find your file (test.txt).

    C / C++ / MFC c++ visual-studio tutorial question

  • Repositioning a cursor in a control
    T Tombo

    The GetLength()is on the variable I set up for the text. However you solve my problem! I changed the SendMessage (EM_SETSEL, (WPARAM)ndx, (LPARAM)ndx); To: m_CheckNoCtrl.SendMessage (EM_SETSEL, (WPARAM)ndx, (LPARAM)ndx); I overlooked specifing the control I was sending the message for! It now works for me too. Thanks!!! :)

    C / C++ / MFC question

  • Can't update text file
    T Tombo

    See if this helps! When the "r+", "w+", or "a+" access type is specified, both reading and writing are allowed (the file is said to be open for “update”). However, when you switch between reading and writing, there must be an intervening fflush, fsetpos, fseek, or rewind operation. The current position can be specified for the fsetpos or fseek operation, if desired.

    C / C++ / MFC c++ question announcement

  • Repositioning a cursor in a control
    T Tombo

    I'm changing the text in a control and I want to reposition the cursor at the end of the text after I display the text. What I'm doing doesn't work! The cursor is always set to the beginging of the text (due to the "SetFocus"). Any ideas? NB: m_CheckNoCtrl is a control to the field! m_CheckNoCtrl.SetWindowText(szTemp); // Paint new text in control m_CheckNoCtrl.SetFocus(); // Set focus to control int ndx = m_CheckNo.GetLength(); // Get the new length SendMessage (EM_SETSEL, (WPARAM)ndx, (LPARAM)ndx);

    C / C++ / MFC question

  • Access another dialogs controls
    T Tombo

    Thanks Rocky, I'll give this a try.

    C / C++ / MFC question

  • Access another dialogs controls
    T Tombo

    Is there an easy way to access controls fron another applications dialog? I need the ability to pick up data from an application that runs concurrently with my app, however I'm not the author of the other application. I'd like to be able to find the control field ID's and pickup what the user keyed, and dump that data into my application to save key strokes (ie. Name, Address, City, State, Zip).

    C / C++ / MFC question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups