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

Search:

Type: Posts; User: Ixiterra

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Re: Problem with rapidly pasting from the clipboard under Windows 7

    98% of my testing is done at home, using notepad. If it doesn't work in notepad, it sure isn't going to work in the clunky work app. I should mention that I have a running version that I use at work,...
  2. Re: Problem with rapidly pasting from the clipboard under Windows 7

    I assumed it was something like that, but I know far too little about the internals of this type of stuff to be able to pinpoint the problem. I'm willing to have the program wait until the paste has...
  3. Re: Problem with rapidly pasting from the clipboard under Windows 7

    As I said I'm a novice, I discovered I need to actually paste to the specific control, and managed to google my way into working code:


    HWND hwnd = ::GetForegroundWindow();
    DWORD...
  4. Re: Problem with rapidly pasting from the clipboard under Windows 7

    Well, by your suggestion I tried this:


    HWND hwnd = ::GetForegroundWindow();
    LRESULT x = ::SendMessage(hwnd, WM_PASTE, 0, 0);


    hwnd is correct, x is 0, nothing pasted. At least in...
  5. Re: Problem with rapidly pasting from the clipboard under Windows 7

    Thanks for not reading my post, you have been so helpful.
  6. Replies
    3
    Views
    1,183

    Re: Just Started Learning C++

    \n puts a return in a string. So "Hello World!\n" or \n\n for two returns.
  7. Problem with rapidly pasting from the clipboard under Windows 7

    Ok, I'm a relatively novice programmer, but I designed an app for work that lets you enter data in a much more efficient way, then it needs to paste this data into the very curmudgeonly interface we...
  8. Replies
    0
    Views
    682

    Database design question

    Although my question is relatively database-independent, I'm using PostgreSQL.

    I'm new to designing databases, and understanding some of the design concepts while maintaining speed and flexibility...
  9. Re: Will using regexs in the primary key slow down searching?

    Cjard: My initial problem was I wasn't sure if using regular expressions would slow down a search. I mentioned in the 4th post that I figured it out. I'm always open to hear other ideas though. What...
  10. Re: Will using regexs in the primary key slow down searching?

    The problem stems from the fact that there are many manufacturers, and they all use different part numbering schemes. The user will not necessarily know the correct way to enter the part number...
  11. Re: Will using regexs in the primary key slow down searching?

    Postgres allows a query like so: SELECT * FROM xxx WHERE partnum ~ '<regular expression>'
    And it works like POSIX regular expressions.

    Alsvha, part of my problem was that I want it to be an...
  12. Replies
    7
    Views
    8,545

    Re: Migrating to VC++ 2008

    http://www.amazon.com/Ivor-Hortons-Beginning-Visual-2008/dp/0470225904
  13. Re: Will using regexs in the primary key slow down searching?

    Well to answer my own question (I am new to SQL), it seems that doing a regex search would be really bad. I ran the statements from the commandline, and with regex even on a 3 or 4 line table it took...
  14. Re: Will using regexs in the primary key slow down searching?

    An example part number could be "12-45-AL-8206 MPQ LC"
    Where "12-45-AL" are prefixes that are all optional, and could be from a range of 50 or so options, "8206" is the base part number, but it is...
  15. Will using regexs in the primary key slow down searching?

    I am working on a postgresql database that will basically search for part numbers and put a lot of data together (what else). Most of these part numbers will be pretty standard, and will just be...
  16. Re: Removing a directory in windows( When a file already opened from that directory)

    What's supposed to happen to the open file then? You're talking about messing with operating system functions. No, you can't.
  17. Re: Is it possible to make your ChildFrame act like a MainFrame?

    It's still an MDI application. I have my own "document" architecture. Each childframe could be displaying one of many views, and the dockable windows around the childframe will change based on which...
  18. Thread: Count Grades

    by Ixiterra
    Replies
    3
    Views
    1,027

    Re: Count Grades

    You need to compare grade, which is a string, to other strings.

    while (grade != -1)
    That should be

    while (grade != "-1")

    And so on for the letters.

    Also, a more logical keypress for the...
  19. Is it possible to make your ChildFrame act like a MainFrame?

    What I'm really looking to do is make the childframe maintain its own dockable windows that can not be moved outside the childframe window. I'm making an MDI Tabbed application with the MFC9/VS2008...
  20. Replies
    18
    Views
    2,974

    Re: Visual Studio 2008 with Beta feature pack

    Are there memory leaks with this new stuff?
    Running just a basic Visual Studio type new program with no modifications, with all of the extra options (outlook, navigation, etc.) Deleaker detects...
  21. Replies
    18
    Views
    2,974

    Re: Visual Studio 2008 with Beta feature pack

    I installed it on XP with VS8 Pro without a problem. Other than the fact that it's a whole slew of new and cool stuff that a novice VC programmer like myself has a hard time grasping. :)
  22. Replies
    2
    Views
    747

    Re: Settings Dialog

    That's the only real part I would take issue with. There should be a settings object or something that stores these variables while the program is running. Are you reading the ini file every time a...
  23. Re: MFC vs .NET vs Qt? (Maybe C# even?) [long post]

    I'm not looking for a long-term decision on my "programming career" so to speak. I am not a professional programmer, nor do I wish to be. Now that isn't to say I'm not a good programmer, it's just...
  24. MFC vs .NET vs Qt? (Maybe C# even?) [long post]

    I'll preface this by saying I'm 25 years old, and I've been programming since I was about 12 in various scripting and programming languages, though primarily in C. Up until recently, this was all...
  25. Using Create with a tree control, having problems

    I'm sure I'm missing something, but I am learning VC++ on my own here. It seems like every time I try something new, I spend 10 hours tracking down something stupid. Basically this is a button that...
Results 1 to 25 of 30
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured