Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Valius

    Crystal Reports/VC++ problems

    Peter, Crud, that was a LONG time ago. I'm using the Crystal API now to do everything, more control. I'll take a quick look into it and see if I can figgure out what I did to fix it...I've slept since then so I'm not sure if I'll have any luck, but I'll give it a go. Can you post some of...
  2. Valius

    Question about Threads

    Okay, lets say I have a ThreadProc that I have defined and I start that thread...now, when a certain event happens in the thread, I start another one with the same ThreadProc. So in essence, I have two threads running that are using the same ThreadProc. Now, my question is this, even though...
  3. Valius

    MAPI problems, please help

    Okay, here is my problem. I've been able to use MAPI in my program to send out emails and able to populate the TO and CC fields. I want to be able to send "On Behalf" of someone, but it's not letting me. I'm making a MapiRecipDesc and filling it with all the info, but using...
  4. Valius

    Window update problems....help

    Nevermind, I found it. Had to use DrawMenuBar() to redraw the menu. Can't believe I missed that. Niky Williams Lead Engineer NTS Marketing, Inc.
  5. Valius

    Coding help with data types etc.

    Yes, you could use a string...but you can also use the "int" type or "long" type since Degrees, minutes, and seconds are just pretty much numbers anyway. Since you will be doing math with them, it would be easier to have them as numbers instead of a string....if I understand...
  6. Valius

    BrowseDir Problems with Windows 2000

    May have something to do with your permissions in Win2K possibly? Do you have admin permissions? Niky Williams Lead Engineer NTS Marketing, Inc
  7. Valius

    Window update problems....help

    Okay, this is just silly. I have a menu and when a user select a certain item, I disable the menu by using: EnableMenuItem(hHandle, Position, MF_BYCOMMAND|MF_GRAYED); Well, it doesen't update my menu...so my menu still appears that it's not grayed...but when you run your mouse over it and try...
  8. Valius

    CTreeView and its View Control Style

    To get the handle to your CTreeView object, I think you can just use GetHandle(); CTreeView NameOfTreeView; HWND HandleToMyTreeView = NameOfTreeView.GetHandle(); Is this what you were wanting? Niky Williams Lead Engineer NTS Marketing, Inc.
  9. Valius

    Can't create modeless dialog

    "It works ok on debuggin' configuration but fails at the second attempt on release mode." Be a little more specific with this quote...don't quite grasp what you are trying to say. Is it that the modless dialog is being created once just fine..but doesn't get created the second time...
  10. Valius

    List Box scrolling issues

    Hmmm...what I'm getting is that you want your list to be always scrolled at the bottom so you can see your newly added strings? Well, I think you may have two options. One option is to have it so when you add the string to the list, it adds it to the TOP of the list. That way you don't have...
  11. Valius

    Visual C++ -> SQL Statement -> Access DB / How to ??

    Is it that you are having problems piecing your SQL statement together with the data in the variables so you can execute the statement? Niky Williams Lead Engineer NTS Marketing, Inc.
  12. Valius

    What exactly is HUGEP?

    Okay, that makes it a bit clearer, thanks so much for the info! Niky Williams Lead Engineer NTS Marketing, Inc.
  13. Valius

    What exactly is HUGEP?

    When dealing with _variant_t, I've noticed that to pull data out of the Safearray within parray I have to use a HUGEP type like this: BSTR HUGEP Data1; //or long HUGEP Data2; //depending on the type that's in the //_variant_t My question is what the heck does HUGEP do? My...
  14. Valius

    "Hook" type program?

    Okay, I can run from there with those functions that install hooks. Probably won't be doing too much with them now that I know I can use messages. Thanks again for your help! Niky Williams Lead Engineer NTS Marketing, Inc
  15. Valius

    "Hook" type program?

    I am currently using those API calls. The program I'm doing right now is pure Win32 API. Currently I just have a timer checking the registry every once and a while so the program knows what to do...least it will be like that until I can implement the messaging system you proposed. Thanks...
  16. Valius

    "Hook" type program?

    Oh, now THAT is a cool idea. I never thought of doing that. I didn't even think it was possible to send messages between 2 seperate programs. Thanks for the awesome idea! Just out of curiosity, if I wanted to look into hooks, where would be a good place to start? I mean, just give me a few...
  17. Valius

    Creating a Toolbar on a Dialog without MFC

    Try using LoadMenu() to load up your menu resource and get a handle(HMENU) to it, then use SetMenu() to attach it to your current window. It's what I use when I don't use MFC...not sure how it will work for you. Hope this helps. Niky Williams Lead Engineer NTS Marketing, Inc.
  18. Valius

    Pausing a program

    I believe Sleep() is a Win API call because it is defined in Winbase.h...it doesn't exist in a DOS based program. I'm not sure what you could us in the DOS environment...you may want to try just a simple empty loop. Kind of crude, but gets the job done. Niky Williams Lead Engineer NTS...
  19. Valius

    "Hook" type program?

    Have a thought provoking question. Let's say that I had a program that was using the registry and another program that read those values the first program was putting into the registry. Is there some way I can use a "hook" of sorts that I can setup so that I will know when something...
  20. Valius

    Scope question

    oops...thanks :-) Niky Williams

Part and Inventory Search

Back
Top