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

Search:

Type: Posts; User: Morbane

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,039

    Re: C++ Remainder Basic Problem...

    Try something like this:



    #include <iostream>
    using namespace std;

    int main()
    {
    int n;
  2. Replies
    3
    Views
    1,268

    Re: Window won't repaint

    Try using this command:


    InvalidateRect(hwndDlg, NULL, TRUE);


    It forces a redraw - it should be placed in one of your button cases or anywhere an action takes place. - I didnt look at your...
  3. Re: is it possible for a file with a customised extension to be non-readable to other

    Suggestion: Google "encryption algorithm c++"
  4. Re: how can i customise my own file extension format?

    You might look into custom file compression - you create a special type of file compression that only your program knows the pattern of... (encryption)

    Something along the lines of simply changing...
  5. Re: Request: Win32 in C++ Project Ideas : Beginner

    Really good... I am building a Zahtzee Game these days. My previous projects were a metric to imperial converter [for inch to cm, mile to km, Fahrenheit to Celsius, and lb to kg] - and the other was...
  6. Re: Calling WM_PAINT or its equivalent with a Button Control

    IS it possible, using these examples, to have multiple bitmaps in multiple locations, all able to be changed?
  7. Re: Calling WM_PAINT or its equivalent with a Button Control

    Thanks hoxsiew,

    Now that I have a really good idea on how to load different bitmaps, the next matter is how can I load bitmaps to multiple locations following the code you supplied?

    edit:
    I...
  8. Re: Calling WM_PAINT or its equivalent with a Button Control

    hoxsiew...

    I know my example is incorrect - I posted it like that to show the problem I was trying to convey, not how I expected it to actually work...

    BUT - I think I have a better idea of how...
  9. Re: Calling WM_PAINT or its equivalent with a Button Control

    Maybe I am asking the wrong question...

    How do I get a Button Control to trigger a bitmap to be displayed in a dialog?

    I can display a bitmap but only in a default type way, which means I...
  10. Calling WM_PAINT or its equivalent with a Button Control

    In this pseudo code I am trying to display a selected bitmap by clicking on a button...




    case WM_COMMAND:
    {
    switch(LOWORD(wParam))
    {
  11. Re: Resource Defined BitMap Not Working or Showing

    Apparently My bitmaps were corrupt!!! :(
  12. [RESOLVED] Resource Defined BitMap Not Working or Showing

    I am trying to make a Yahtzee game and I have 6 bitmaps representing the 6 possible rolls. The trouble is the code I am using, which seems correct at first glance and compiles but is not showing the...
  13. Replies
    1
    Views
    620

    Re: does this work like the php tags test

    nope - too bad - it would be nice to have syntax highlighting for c++
  14. Replies
    1
    Views
    620

    does this work like the php tags test

    void main()
    {
    int var = 3.14;

    int result = var * 55;

    string s = itoa(result);

    cout << s << endl;
  15. Re: The code compiles and has output successfully but segmentation fault

    you type the code tags in yourself:

    [ code ]

    //code . . . .

    [ / code ]

    Without the spaces look through this as well, cool stuff in there.......
  16. Replies
    3
    Views
    4,090

    Re: Programmatically Close MsgBox/Form

    costamesakid:

    you should use code tags - it makes a big difference :)

    [ code ] code............... [ / code ]

    (without the spaces)
  17. Replies
    45
    Views
    2,938

    Re: [RESOLVED] C++ bitmap - why?

    Very few I'd imagine - the OP is just making excuses for ignorance and frustration. When someone asks a question and is faced with a question of their own, he simply could not handle the idea that...
  18. Re: [RESOLVED] Another Logic Question: Button Control Only To Fire Once.

    Thanks again Igor!

    [RE-RESOLVED] ;)
  19. Re: Another Logic Question: Button Control Only To Fire Once.

    ...So returning FALSE will make the button not reuseable? I imagined that was possible but was unsure about how doing so would effect the operation of the dialog.

    I will see what that does.
    ...
  20. [RESOLVED] Another Logic Question: Button Control Only To Fire Once.

    Well I have a Dialog with all kinds of things going on but for this question it regards a single Button Control. I would like the user to be able to use this button only once. It is pretty basic, but...
  21. Replies
    12
    Views
    920

    Re: Dialog Performance Issue

    Igor!

    That, of course, works perfectly!! You're truly worth every point of the reputation you hold.

    Thank you!
  22. Replies
    12
    Views
    920

    Re: Dialog Performance Issue

    Hello,

    I am posting the lean version of my main.cpp - it all works as intended save for the aforementioned performance issue which this version of code still produces. I am hoping that someone...
  23. Replies
    12
    Views
    920

    Re: Dialog Performance Issue

    Would it be appropriate to attach the files - or useful? And if I did attach them would you have a look - and if you will, which files would you want?
  24. Replies
    12
    Views
    920

    Re: Dialog Performance Issue

    Is it possible that the definition numbers I am using in my resource.h which are in some cases 5 digits long could be causing the issue? Are there reserved ranges that windows uses? For example a set...
  25. Replies
    12
    Views
    920

    Re: Dialog Performance Issue

    Where to use the notification(s) is/are my present question.
Results 1 to 25 of 101
Page 1 of 5 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