Search found 1374 matches

by VANYA
Nov 02, 2010 14:07
Forum: Beginners
Topic: The image in a window
Replies: 17
Views: 2028

The good code, thanks MichaelW. I will add in the collection.
by VANYA
Nov 02, 2010 3:52
Forum: Beginners
Topic: The image in a window
Replies: 17
Views: 2028

The person with anybody gromov has prompted at Russian forum Here so it is possible to learn image sizes: #Include "windows.bi" Dim As MSG msg Dim As Integer hinst,hWnd,hwnd2 Dim Shared As RECT rect Dim Shared As integer hWnd1,hBitmap Dim size As BITMAP hinst=GetModuleHandle(0) hBi...
by VANYA
Oct 30, 2010 7:52
Forum: Beginners
Topic: The image in a window
Replies: 17
Views: 2028

For thanks link, API-Guide it is useful.
by VANYA
Oct 30, 2010 2:52
Forum: Beginners
Topic: The image in a window
Replies: 17
Views: 2028

VANYA, if your code isn't windows specific or you don't need windows specific resources then you could just use fb's internal graphics functions. Thanks, but to me would be desirable to learn to load the image in GUI, to receive their sizes, to change and save a disk. I have used for conversion of ...
by VANYA
Oct 29, 2010 12:35
Forum: Beginners
Topic: The image in a window
Replies: 17
Views: 2028

Good afternoon!

Very much I ask, prompt please how after loading by means of Loadimage to learn image sizes? Forgive, the subject likely already made a reservation time and again, but me as to the foreigner, it is difficult to search in another's language.
by VANYA
Oct 24, 2010 18:34
Forum: Beginners
Topic: The image in a window
Replies: 17
Views: 2028

Here that at me it has turned out, basically not and it is difficult, as at first it seemed: #Include "windows.bi" Dim As MSG msg Dim As RECT rect Var hinst=GetModuleHandle(0) Var hBitmap=LoadImage(hinst,@"1.bmp",IMAGE_BITMAP,0,0,LR_LOADFROMFILE) Var hWnd = Create...
by VANYA
Oct 24, 2010 17:31
Forum: Beginners
Topic: The image in a window
Replies: 17
Views: 2028

Wow... I guess he's using translation software, ftl. Yes the friend, I is a little familiar with English, therefore it is bad on it I write, using http://www.translate.ru/ . All has understood. It is necessary to use API bmpRes=LoadImage(hinst,@"1.bmp",IMAGE_BITMAP,LR_DEFAULTSIZE,LR_DEFAULTSIZE,LR_...
by VANYA
Oct 24, 2010 16:31
Forum: Beginners
Topic: The image in a window
Replies: 17
Views: 2028

It is impossible, result same, as at me - an empty window.

It is added later:

I am sorry all works if to create a resource file. Thanks!

Don't prompt how to make, that there was a possibility to load not from resources, and directly. For example as it is done by any photoeditors
by VANYA
Oct 24, 2010 15:23
Forum: Beginners
Topic: The image in a window
Replies: 17
Views: 2028

The image in a window

Hello! At me it is impossible to deduce the image in a window, who can will help? #Include "windows.bi" Dim As MSG msg Dim As HWND hWnd Dim As PAINTSTRUCT pain Dim As RECT rect Dim hBitmap As Integer Var hinst=GetModuleHandle(0) ' Create window hWnd = CreateWindowEx( 0, "#...

Go to advanced search