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

Search:

Type: Posts; User: BitNinja

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,393

    Re: cast from void* to const char*

    You can use

    const_cast<char> (expression)



    char chr[10] ;
    const char * bhr = const_char<char*>(chr);
  2. Replies
    2
    Views
    451

    Re: Automatically Opening a File

    Hi,

    I think you should read this before posting. It will increase chance of repliers.

    http://www.codeguru.com/forum/misc.php?do=bbcode#url

    Good luck
  3. Replies
    3
    Views
    934

    Re: Visual Studio - saving debug state

    Yes you can.It automatically save in HTML document.
    You have to go look in your project folder and there is only one HTML document
    (sometimes it is shown in Internet Explorer name)
  4. Replies
    3
    Views
    937

    Re: nested if-else or switch case

    Only If and else if are OK




    unsigned int input;
    double result;

    if (input < 16 ){
    result = 0.38;
  5. Replies
    3
    Views
    3,459

    Re: Recompiling Object File Library LIB

    Can I see you code ?
  6. Replies
    2
    Views
    3,324

    Re: [MFC] Setting focus to a child dialog

    Try DoModal()



    CDialog Dlg(IDD_TEXTURE, NULL);
    DLGTEMPLATE DlgTemPlate;

    DlgTemplate.style = DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS;
    Dlg.CreateIndirect( DlgTemplate, NULL);
  7. Replies
    6
    Views
    673

    Re: doubt in DrawText()

    This should help

    http://msdn.microsoft.com/en-us/magazine/cc188910.aspx
  8. Re: Can anybody figure this out for me please?

    Just a suggestion, you should reserve array with default value 0



    vector<double> u(21);

    for (int i = 0; i < 21; i++){
    u[i] = i*0.1 -1;
    cout << u[i] << endl;
    }
  9. Thread: LoadImage()

    by BitNinja
    Replies
    17
    Views
    34,581

    Re: LoadImage()

    You can check size, pixel and byte from BITMAP variable

    [code]
    typedef struct tag BITMAP{
    LONG bmType;
    LONG bmWidth;
    LONG bmHeight;
    LONG bmWidthBytes;
    WORD bmPlanes;
    WORD bmBitsPixel;
  10. Replies
    5
    Views
    4,518

    Re: Help to get/set workgroup in Win2K/NT

    I think ezway did the right thing.
Results 1 to 10 of 10


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center