Search:

Type: Posts; User: joaquim

Page 1 of 13 1 2 3 4

Search: Search took 0.07 seconds.

  1. Re: [VB6 - DIB's] - advices for speed up my Graphic Class

    i have did some changes and i have seen the tiles need very time to be showed:(

    Public Sub DrawImage(Picture As Object, Optional x As Long = 0, Optional y As Long = 0, Optional Width As Long = 0,...
  2. [VB6 - DIB's] - advices for speed up my Graphic Class

    i need advices for speed my class. it takes very time to Draw the image:(

    - GetImageData sub: here is catch the image from a control(picturebox and form and usercontrol);
    - ChangeImage sub: here...
  3. Re: [VB6] - what is the diference between 'end' and close the window(on 'X')?

    ok.. seems that i'm doing 1 problem when my control Initializate, because i change properties instead variables. because my control seems to show the image 4 times instead of 1. maybe i can fix these...
  4. Re: [VB6] - what is the diference between 'end' and close the window(on 'X')?

    using my sprite control keydow(inside theres a timer control for control the keydown event). but when my control is 'Terminated', i delete all array controls, disable the timers and set the graphic...
  5. [VB6] - what is the diference between 'end' and close the window(on 'X')?

    what is the diference between 'end' and closing the window(on 'X')?
    (i'm asking these because by some reason(when i click on escape key), i must use the unload key word('Unload Me'))
  6. Re: how create an empty DC with window size?

    thanks... now i understand why we need 2 hbitmap;)
    thanks for all
  7. Re: [VB6] - wall collision precision

    thanks.. it's working;)
  8. [RESOLVED] [VB6] - wall collision precision

    is these function correct for test the collision?

    Public Function TestCollision(X1 As Long, Y1 As Long, Width1 As Long, Height1 As Long, X2 As Long, Y2 As Long, Width2 As Long, Height2 As Long) As...
  9. [RESOLVED] how create an empty DC with window size?

    how can i create an empty DC with window size?
    (for i use bitblt().... i try CreateCompatibleDC() with CreateCompatibleBitmap() SelectObject() but seems not working... because the bitblt() don't...
  10. Re: i need some advices that i can't find easly:(

    can i test if any key was pressed by using GetAsyncKeyState()?
    i build a nice function for these, but i get unpested results:(
  11. Re: i need some advices that i can't find easly:(

    don't be mad... i must build my own code;)
    i continue without understand 2 things:
    1 - how avoid use very CPU?;
    2 - how control the number of frames for not be very faster on other machine?
  12. Re: how build a dynamic array from a struture?

    i did a mistake in link;)
    sorry i read that before and i never understand that, maybe when i learn C++ i understand;)
    and i resolve it:
    1 - we must create a pointer variavel;
    2 - we must point to...
  13. i need some advices that i can't find easly:(

    about frames count:
    1 - i capture the actual time with GetTickCount() api function to TempStart.
    2 - inside of game loop i count the frames;
    3 - i capture the next time with GetTickCount() api...
  14. how build a dynamic array from a struture?

    imagine that you have these struct:

    struct Person
    {
    char Name[255];
    int age;
    };
    and you create a variable array:
    Person a[20];
    but then you only need 3. how can i change it?
  15. Replies
    1
    Views
    565

    sending text to printer

    can i send text to the printer?
  16. Re: [mail notifications] - can i do it with Outlook 2007?

    finnaly works;)
    wasn't easy:(
    it's the 1st time that i use it;)
    heres what i read: http://en.kioskea.net/faq/11187-how-to-configure-hotmail-under-outlook-2007
    thanks for all
  17. [RESOLVED] [mail notifications] - can i do it with Outlook 2007?

    i have Outlook 2007 installed. but i don't know work with it:(
    but i need 2 things:
    1 - how connect it with my mail?(i try that.. the mail is added, but don't connect:();
    2 - how it can notificate...
  18. Re: [keyboard] - what key selected and if was keydown or keyup

    is for testing if the ESC key is pressed(keydown) or release(keyup), but using a timer;)
  19. Replies
    13
    Views
    528

    Re: forcing a window\program to close

    the getshellwindow is now working but not endtask:(

    /****************************************************************************
    * ...
  20. Replies
    13
    Views
    528

    Re: forcing a window\program to close

    now works something;)

    #include <windows.h>

    void main()
    {
    HWND hWnds[3];
    int i;

    Sleep(10000); // <-- What for?
  21. Replies
    13
    Views
    528

    Re: forcing a window\program to close

    i'm using VC++ 2010 for test, but the EndTask() is give me problems:(
    " 1 IntelliSense: identifier "EndTask" is undefined c:\users\joaquim\documents\visual studio 2010\projects\bloquear...
  22. Replies
    13
    Views
    528

    Re: forcing a window\program to close

    sorry what compiler you use?
  23. Replies
    13
    Views
    528

    Re: forcing a window\program to close

    sorry i get these errors:

    "--------------------Configuration: Bloquear Virus - Win32 Debug--------------------
    Compiling...
    Bloquear virus.cpp
    c:\users\joaquim\documents\visual c 98\bloquear...
  24. Replies
    13
    Views
    528

    Re: forcing a window\program to close

    thanks for all.. now no errors. but the program isn't terminated:(

    #include <stdio.h>
    #include <windows.h>
    #include <string.h>


    void ForceCloseWindow(HWND hWnd)
    {
    DWORD PID, dwRet;
  25. Replies
    13
    Views
    528

    forcing a window\program to close

    imagine that you have 1 program in full screen. and you don't have access to windows or task manager, because the program is in top most.
    i simulate that program(honestly is a virus) for test my...
  26. Re: [General] - i need some advices\Sugestions

    i understand that... but in my case it's more diferent and i don't need code... just advices;)
    - my class Image do: Load(), Draw() and Destroy().
    - the Sprite structure have the position and size...
  27. Replies
    2
    Views
    297

    Re: Game animation: some advices

    i know that i can calculate the frames and after some frames i can change the subimage. but i still have 1 problem that i realy don't understand:( how can i limit the frames?
    because i do it with a...
  28. Replies
    4
    Views
    389

    Re: [functions] - opcionals parameters

    thanks
  29. Replies
    4
    Views
    389

    Re: [functions] - opcionals parameters

    i can do with va_list. but i don't understand how can i show the strings:(

    #include <stdio.h>
    #include <conio.h>
    #include <stdarg.h>

    int Menu( char *sentence, ... )
    {
    va_list listPointer;...
  30. Replies
    4
    Views
    389

    [functions] - opcionals parameters

    i know that in C\C++ we can create opcionals parameters, like the printf() function:
    printf(char *string, ...); // i have seen these header in stdio.h
    how can i do that?
    i need build 1 function...
  31. [keyboard] - what key selected and if was keydown or keyup

    the GetAsyncKeyState() function can detect if the keys still pressed(keydown) or was lefted(keyup)?
  32. Replies
    2
    Views
    297

    Game animation: some advices

    i can calculate the frame.. i can do the double buffer. but how can i do a nice animation?
    i don't have timers.
    think in these way, the right move have 3 subtimages. how can i do for change the...
  33. Thread: [VB6] - 1 thot

    by joaquim
    Replies
    14
    Views
    426

    Re: [VB6] - 1 thot

    if you put the land together with that tower and then draw it... goodbye flicker;)
    the isn't what i need.. but thanks anyway
  34. Thread: [VB6] - 1 thot

    by joaquim
    Replies
    14
    Views
    426

    Re: [VB6] - 1 thot

    just the shape. the dragon is just a sample;)
    thanks for all
  35. Thread: [VB6] - 1 thot

    by joaquim
    Replies
    14
    Views
    426

    Re: [VB6] - 1 thot

    yes, but using bitblt().
    (because i need speed)
  36. Thread: [VB6] - 1 thot

    by joaquim
    Replies
    14
    Views
    426

    Re: [VB6] - 1 thot

    maybe i can't express me better(sorry) to both..... i did it before using the bitblt(), but by mistake... i need that for do a Transparency Opacity(instead by pixels).. need speed or i still get...
  37. Thread: [VB6] - 1 thot

    by joaquim
    Replies
    14
    Views
    426

    Re: [VB6] - 1 thot

    not the dragon just the shape;)
  38. Thread: [VB6] - 1 thot

    by joaquim
    Replies
    14
    Views
    426

    [VB6] - 1 thot

    can i take 1 dragon(for example) irregular shape from 1 image?
    (sorry i don't know the right terms:()
  39. Re: [General] - i need some advices\Sugestions

    but honestly i need more than that info, but that's.
    i think that for LoadImage(), DrawImage(), DeleteObjects() i can do a class;)
    thanks
  40. [General] - i need some advices\Sugestions

    what a Sprite struture have besides Position and Size?
    i have 2 strutures(Sprite and Images(mask image inclued). and more 3 functions: LoadImage(), DrawImage() and DestroyObjects(). i wanted some...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4