Search:

Type: Posts; User: w384life

Search: Search took 0.00 seconds.

  1. Replies
    8
    Views
    1,436

    how do u verify the hBmp? if(hBmp) ? ...

    how do u verify the hBmp? if(hBmp) ?

    thanks
  2. Replies
    8
    Views
    1,436

    yeah originally it was a CPaintDC i was playing...

    yeah originally it was a CPaintDC i was playing around with differnt ones to see if it made a differance......yes i am loading the bitmap every time i paint simply becasue i want to make it work...
  3. Replies
    8
    Views
    1,436

    void CTexPropDlg::OnPaint() { CClientDC...

    void CTexPropDlg::OnPaint()
    {
    CClientDC dc(this);
    CBitmap bmp;

    HBITMAP hBmp = (HBITMAP)::LoadImage(
    NULL,
    "test.bmp",
    IMAGE_BITMAP,
    ...
  4. Replies
    8
    Views
    1,436

    Windows, Bitmaps, and morons (me)

    Ok I have a Dialog Box that a need to display a Bitmap in that has to be loaded from a .bmp file. I'm Using MFC....i can loaded the BMP to a Cbitmap....but when i i try to draw it to the dialog i...
  5. Replies
    2
    Views
    1,393

    DirectX9 question

    why doest the following function only fail when in fullscreen mode? if im in windowed mode im fine.




    HRESULT hr = D3DXCreateTextureFromFileEx (d3dDevice, fileName, 0, 0, 0, 0,
    ...
  6. thanks. Didnt even thing of using a string class....

    thanks. Didnt even thing of using a string class.

    another question. I was messing around with malloc and it wasnt allocationg what i wanted. explain what im doing wrong here please.




    ...
  7. ok how would i do that then if i dont know what...

    ok how would i do that then if i dont know what the size of the "message" is going to be?
  8. Either I'm Stupid or my compiler is stupid.....my vote is for me.

    Now to the best of my knowlege the following code should work. but it casues an "Access violation" every time i try to run it.




    int main(int argc, char* argv[])
    {
    char *message;
    int...
Results 1 to 8 of 8