News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Drag List/Check List

Started by Jackal, August 10, 2006, 09:26:32 PM

Previous topic - Next topic

Jackal

Ok i know how to make a ListBox a draglist and a listview a checklist and i can even make it so that the listview has dragable items but i had to use a listbox and a listview to get what i want. My questions is can i add check boxes to a draglist? This would make it so i do not need the listview. Also is there a way that i can make it so when you click over the check box itself that the item is not enabled for dragging?

bomz

How redraw picture on screen? save background?



How make transparent screen this on picture made with TransparentBlt. may be use MaskBit?

qWord

This thread is from 2006 and your question has nothing to do with the original.
Too your question: create an popup window and select a custom region that fits your drawing.
FPU in a trice: SmplMath
It's that simple!

dedndave

#3
cool GIF, though   :bg
i'd like to know how you make those, but i probably wouldn't understand unless you put it in Russian   :P

bomz

yes. I have a russian tutorial.

http://forum.ru-board.com/topic.cgi?forum=62&bm=1&topic=21681#1

But I think tha main be undestandable see screen. If some question still - ask

bomz

http://www.codeguru.com/cpp/controls/listview/dragdrop/article.php/c6399/A-Drag-and-Drop-List-Control.htm
I find this example but practicaly don't understand nothing - here C + Studio.

I don't think that this is popup

bomz

All process you may see on screens. The main idea how make high qulity screen GIF\VIDEO:
1 The condition's how get max quality you may find only manualy/visualy compare results
2 The most important moment the intermedia  video codec (I use Microsoft Video 1, for result video Windows Media Codec 9, 1 pass, 100%, 5 sec key frame, complex)*
3 UvcrScreenCamera (crack) have it's own gif converter but it don't get max qulity/size
4 As you may see in internet there is very many video helps, but the main mistake - it's makes with max screen video mode (1280X1024 for ex) and when resized to 600X800. make it in 600X800 video mode.
5 find your own condition/programs
6 think about scenario of your video before make it
7 if you want cut\add (subtitles) video recompress it in uncompressed video
below in topic you may find hide screens with how make HQ video, add subtitles, add sound.......

http://translate.google.ru/

http://www.gamani.com/
http://www.uvsoftium.ru/UVScreenCamera.php
http://www.erightsoft.com/SUPER.html
http://www.virtualdub.org/
http://www.virtualdub.org/virtualdub_filters.html
http://bomz-co.narod.ru/GIF.zip
http://s016.radikal.ru/i337/1010/18/4b7eaccaf1ca.gif
http://bomz-co.narod.ru/WebSeeding.MKV
http://bomz-co.narod.ru/WS.MKV
http://bomz-co.narod.ru/WebSeeding.rar
http://s013.radikal.ru/i325/1010/d4/3f89b8a8a686.gif
http://s009.radikal.ru/i307/1010/bb/b23f06062a18.gif
http://s014.radikal.ru/i328/1010/b3/f255f5575b03.gif
http://s012.radikal.ru/i321/1010/96/bccf26b63c61.gif
http://s016.radikal.ru/i334/1010/c6/e9fa5da0a055.gif
http://s015.radikal.ru/i333/1010/80/aeddbc693657.gif
http://s016.radikal.ru/i334/1010/b5/6c7a7808170e.gif

*XVid 2-pass also gets good results for result video

http://s60.radikal.ru/i167/1105/e7/746ca23b1c9e.gif

http://www.bunkus.org/videotools/mkvtoolnix/ - it can't put WMV video to mkv container

bomz

show me direction please how made popup from CompatibleBitmap

dedndave

great explanation bomz - thank you   :U

bomz



One else - always use multiple to 2 resolution of screen part. Some codec's can't work with ODD resolution, most gives low qulity


104X206 not 103X205

bomz

I try
invoke InvalidateRect,0,addr rect1,FALSE
;invoke RedrawWindow, 0, addr rect1, 0, RDW_INVALIDATE+RDW_UPDATENOW+RDW_ALLCHILDREN

it's work but redraw all WorkerW still some not redraw part's and it's very slow - popup best decision

bomz



I make popup but how add here picture?

dedndave

how did you create the popup window ?
i guess you could use CreateWindow with the WS_POPUP style and paint it like any other child window

bomz

This is not popup this is tooltip . I am just understand the difference. How create popup?

to insert picture - something like this.

mov hScr, 0
invoke GetDC,hScr
mov hDC, eax
invoke CreateCompatibleBitmap,hDC, rect.right, rect.bottom
mov hBmp, eax
invoke CreateCompatibleDC,hDC
mov cDC, eax
invoke SelectObject,cDC,hBmp
mov hOld, eax

invoke TransparentBlt, cDC, 0, 0, rect.right, rect.bottom,\
hDC, rect.left, rect.top, rect.right, rect.bottom, 0ffffffh ;RGB(r, g ,b)

invoke SelectObject,cDC,hOld
invoke DeleteDC,cDC
invoke ReleaseDC,hScr,hDC


invoke PopupProc1, addr AppName
invoke BeginPaint,DragANDDrop,addr ps
mov hDC, eax
invoke CreateCompatibleDC,hDC
mov cDC, eax
invoke SelectObject,cDC,hBmp
mov hOld, eax

invoke BitBlt,hDC, rect.left, rect.top,rect.right, rect.bottom,cDC,0,0,SRCCOPY
invoke EndPaint,DragANDDrop,addr ps

bomz

Iczelion 18 lesson say a few word's about 'Drag list control', but I can find anything about it