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

Search:

Type: Posts; User: Runt888

Page 1 of 40 1 2 3 4

Search: Search took 0.06 seconds.

  1. Replies
    6
    Views
    737

    Re: Violating C++ Standard?

    Hi Dave,

    Thanks for the response!

    I agree, moving the increment to the previous line is more readable. And I'll look at digging into the assembly as some point in the near future to see...
  2. Replies
    6
    Views
    737

    Violating C++ Standard?

    Hello,

    I've got a piece of code that's causing strange problems when compiled in release (using Visual Studio 2010). Am I violating some rule in the C++ standard by doing this?

    Psuedocode:

    ...
  3. Replies
    11
    Views
    1,144

    Re: Mac Style Popup Window

    Hi Igor,

    Thanks for the example! I apologize for taking so long to get back to you - I was pulled on to a different project temporarily.

    Your sample does exhibit the behavior I'm looking for,...
  4. Replies
    11
    Views
    1,144

    Re: Mac Style Popup Window

    I apologize, I wasn't very specific. I should have said "mouse clicks in the main window cause the main window to become active (which in turn hides the popup window), but otherwise they are not...
  5. Replies
    11
    Views
    1,144

    Re: Mac Style Popup Window

    We have a cross platform framework that allows us to create views once and use them on both Windows and OS X.



    This is very possible - it's good to know that this should work, and now I just...
  6. Replies
    11
    Views
    1,144

    Re: Mac Style Popup Window

    Hi Igor,

    Thanks for the reply!



    From my understanding, I'm not creating a modal dialog (it's actually not a dialog at all, it's created with CreateWindowEx). There is only a single message...
  7. Replies
    11
    Views
    1,144

    Re: Mac Style Popup Window

    Hi VictorN,

    Thanks for the reply!

    I'm not really sure how that will help - I really just need inactive buttons to respond to mouse click events (not saying it won't help, I just don't see...
  8. Replies
    11
    Views
    1,144

    Re: Mac Style Popup Window

    An update:

    I was able to fix issue #1 by handling the WM_NCACTIVATE message to force the parent to look active when the popup window is visible.

    I'm still having problems with issue #2. I've...
  9. Replies
    11
    Views
    1,144

    Mac Style Popup Window

    Hello All,

    We have an application that runs both on Windows (using pure WIN32) and Mac OS X. One of the new features we are implementing is iOS style popup windows (see this for a sample image)....
  10. Replies
    9
    Views
    1,321

    Re: delete file from zip without unzip

    Zlib by itself can't handle zip files, it just does the compression/decompression part. ZLib comes with minizip, which allows you to create zip files, but it doesn't have the ability to delete...
  11. Re: Server Socket - Send all data before disconnect

    I think I fixed this problem - looking at the error codes for the Windows client, I was getting a ERROR_INTERNET_CONNECTION_RESET error when calling the InternetReadFile function.

    That led me to...
  12. Re: Server Socket - Send all data before disconnect

    Hello-

    To answer your questions:

    On windows, we have a C++ client written using ::InternetOpen, ::InternetConnect, etc.

    On the mac, we have a C++/Objective C client written using...
  13. Re: Server Socket - Send all data before disconnect

    Sorry to resurrect this thread, I've finally gotten back around to this project.

    Using shutdown on the server side fixed the problems with Mac clients. However, now the Windows clients have the...
  14. Thread: C++ zip / gzip

    by Runt888
    Replies
    5
    Views
    3,484

    Re: C++ zip / gzip

    It will work if the machine you're running it on has gzip installed. It's not a very portable solution, but it could be exactly what you need.
  15. Replies
    3
    Views
    486

    Re: Directory variables

    The first command line argument passed to main is the path to the executable.
  16. Thread: C++ zip / gzip

    by Runt888
    Replies
    5
    Views
    3,484

    Re: C++ zip / gzip

    ZLib: http://www.zlib.net/

    Zip format: http://www.pkware.com/documents/casestudies/APPNOTE.TXT

    Lots of examples: http://www.example-code.com/vcpp/zip.asp

    Kelly
  17. Replies
    3
    Views
    803

    Re: Window order...how to?

    I haven't done this before, but it seems like a remote hook would do what you need. You can listen in to the window messages of the foreign application, and tell when the app is minimized/maximized....
  18. Re: Problem in UAC Execution Level as "requireAdministrator" in case of startup.

    Assuming you do need admin privileges, you have to either turn your app into a service or use the Task Scheduler to start it.

    http://blogs.techrepublic.com.com/window-on-windows/?p=616

    Kelly
  19. Re: Server Socket - Send all data before disconnect

    Thanks, this is just what I needed!
  20. Re: Redraw problem with CRichEditCtrl and CListCtrl edges

    What j66st wants to know is, are you looping in the same thread as your message loop?

    If you have a long task that needs to be done, and you want the UI to update properly, then you will need to...
  21. Replies
    7
    Views
    539

    Re: TabCtrl saving tab (dialog) changes...

    The simple answer is, cast to the derived class, then make the call to OnNext.

    It seems like a good place to use a common base class that defines a virtual OnNext function that all of the derived...
  22. Server Socket - Send all data before disconnect

    Hello,

    I'm writing a simple HTTP server using C++ and Winsock. I'm supporting a small subset of HTTP 1.1. Generally, I want to be able to use OS specific HTTP functionality (ie,...
  23. Replies
    2
    Views
    554

    Re: Problem Using MFC with WinAPI Program

    What are you using MFC for? I would think in a lot of cases it would be easier to find an alternative for the MFC part than to rewrite the whole application (obviously it depends on a lot of...
  24. Replies
    1
    Views
    3,389

    Re: CB_ADDSTRING in Combobox

    Just a guess, are you compiling for unicode? You could try this:


    const TCHAR* m_sArray[] = { _T( "Item1" ), _T( "Item2" ), _T( "Item3" ) };

    for(int iCount = 0; iCount < 3; iCount++ )
    {...
  25. Replies
    4
    Views
    637

    Re: a little help

    I think tchar.h.

    Kelly
Results 1 to 25 of 989
Page 1 of 40 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center