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

Search:

Type: Posts; User: nbaztec

Page 1 of 3 1 2 3

Search: Search took 0.05 seconds.

  1. CopyFile() Reports a False Positive (Trojan)

    Well, I was making a standalone app (I almost always make stand-alones) when I thought it'd be cool to add a Save App option.

    I used the CopyFile() function to copy the running exe to another exe...
  2. Replies
    4
    Views
    18,207

    Re: How Exactly Does Folder Lock Works?

    Thanks a ton for resurrecting my query. I get you though not fully. Sorry, but I didn't fully understand the concept of using a "keyboard driver" as a a "file system driver".
    The concept, I however...
  3. Replies
    2
    Views
    2,174

    Re: Creating Custom Multiline TextBox (Memo)

    I overcame the inheritance & integration problem. (Inherited from UserControl, added a TextBox then added to Toolbox using compiled DLL).

    But now I need to incorporate a feature by combining the...
  4. Replies
    2
    Views
    2,174

    Creating Custom Multiline TextBox (Memo)

    Ok, I want to start off by developing a Memo component having InsertAt(), RemoveAt(),etc. features to ease me in future projects. But I don't have an idea so as where to start from.

    * How can I...
  5. Replies
    4
    Views
    18,207

    Re: How Exactly Does Folder Lock Works?

    Folder Lock

    Using the ACLs you can make that Folder Unaccessible to explorer, but what this app does is Remove it from there and some kind of logical drive appears as the locker. Is this some...
  6. Replies
    4
    Views
    18,207

    How Exactly Does Folder Lock Works?

    Ok, I've just been wondering my brains out.

    I know:
    - You can make a directory attribute as "System" to prevent it from being shown normally from hidden files.
    - You can change it's ACLs so...
  7. Replies
    9
    Views
    1,864

    Re: Setting Keyboard Focus on a TEdit Control

    Edit Box is a control on a Windows Form & so is the Button. Please elaborate how they don't belong to MFC. The only difference being - mine belongs to class TEdit & of MFC, to CEdit. As far as...
  8. Replies
    9
    Views
    1,864

    Re: Setting Keyboard Focus on a TEdit Control

    Thank you. I'll see to it next time. However I wish to point that thought the general syntax may differ yet solution for one is solution for other as underneath the functionality is the same.

    P.S....
  9. Replies
    9
    Views
    1,864

    Re: Setting Keyboard Focus on a TEdit Control

    Well my query considered the Message I needed to Post to the control(Edit Control), hence it was posted here. I agree there are far many differences b/w VCL, MFC/ VC++ but I only needed to know the...
  10. Replies
    9
    Views
    1,864

    Re: Setting Keyboard Focus on a TEdit Control

    The problem is that after calling SetFocus, the Edit Box is in a paused state but it has focus (the cursor is visible but not blinking). So I have to press a key to remove it's paused status....
  11. Replies
    9
    Views
    1,864

    Re: Setting Keyboard Focus on a TEdit Control

    Yes. A Form control having a Edit Box & Button. Only VCL.
  12. Replies
    9
    Views
    1,864

    Setting Keyboard Focus on a TEdit Control

    I basically have a InputQuery Box with a TEdit control. I obtain the handles(HWND) of both the Box & the Control.

    My only issue is that when the InputBox is displayed the TEdit control isn't...
  13. Replies
    3
    Views
    453

    Re: Reference Variable Query

    nvm, this is not a standard code just found out.
    int const &ref = 10; //legal
    so
    ref = 3; //illegal
    turns out fine.
  14. Replies
    3
    Views
    453

    Reference Variable Query

    Consider the following code:



    const int con = 100;

    int &ref1 = 10; //Where is this 10 stored?
    int &ref2 = con;

    ref1 = 20;
  15. Replies
    4
    Views
    5,052

    Re: Pass to another text file while writing

    Seek to end upon opening then just add the return of Write functions, to track the size.
  16. Replies
    2
    Views
    2,425

    Re: Function Pointer & _closure

    Thank you Paul for that link, I'm currently going through it.

    Regards,
    Nisheeth Barthwal
  17. Replies
    4
    Views
    671

    Re: help with threads

    You can use a callback function. Or PostMessage() in case of windows.
  18. Replies
    4
    Views
    770

    Re: How to overload a matrix class?

    @featips,
    The code posted by Joeman is correct as far as logic is concerned. It's entirely upto you how you want to go on with it.
    In a 2-D array '[]' returns the element at that index (row or...
  19. Replies
    2
    Views
    2,425

    Function Pointer & _closure

    The trouble I'm facing is when I assign a function pointer to another.

    Eg:



    class foo
    {
    public:
    bool (*myFunc)();
  20. Replies
    0
    Views
    574

    Winsocket: Connecting over Internet

    Currently my app supports only local connections. Clients can connect only if they have matching IPs. So, is there any way that can enable Clients having any IP(read: throughout the internet) not...
  21. Replies
    9
    Views
    1,478

    Re: Convert string to int

    lol.
  22. Re: Reinitializing variables & their speed sacrifice

    Agreed on debugging aspect, as we're the only one's operating. But once RTM, nobody knows how the code will behave on diff PCs( a la run-time errors), owing to a Corrupted RAM, 99% CPU usage, Virus,...
  23. Replies
    9
    Views
    1,478

    Re: Convert string to int

    strtol() for long int
    strtoul() for long unsigned int
    strtod() for double
  24. Re: Reinitializing variables & their speed sacrifice

    Though agree on first statement, but this is rather over-hyped. I once almost gave all of my ram away, just because I wanted to compute upon 999K-digited number(& I mean multiplication), then I...
  25. Re: Reinitializing variables & their speed sacrifice

    lol! not "variables" the "code" spans thousands of lines utilizing many custom headers....
    Making variables spanning thousands of lines would only be possible if I sleep upon my keyboard with my...
Results 1 to 25 of 65
Page 1 of 3 1 2 3





Click Here to Expand Forum to Full Width

Featured