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?
How redraw picture on screen? save background?
(http://xmages.net/storage/10/1/0/4/0/upload/0f911708.gif)
How make transparent screen this on picture made with TransparentBlt. may be use MaskBit?
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.
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
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
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
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
show me direction please how made popup from CompatibleBitmap
great explanation bomz - thank you :U
(http://smiles.kolobok.us/light_skin/curtsey.gif)
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
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
(http://xmages.net/storage/10/1/0/8/2/upload/a31bde30.gif)
I make popup but how add here picture?
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
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
Iczelion 18 lesson say a few word's about 'Drag list control', but I can find anything about it
as i said, i think you could use CreateWindow or CreateWindowEx
you just want a window with no border or titlebar :P
you might also have a look at CreateDialogParam
some related code....
http://www.masm32.com/board/index.php?topic=5744.0
Is it possible subclassing tooltip?
What properties must windows have to put in it picture BMP?
The problem is not 'how create window' I don't know what classes need for bitmap
nothing special
any normal window can display a bitmap
you probably want WS_VISIBLE :bg
is it possible to subclass tooltip for my purpose?
i am not sure
i guess you can draw a bitmap in there, although it seems a little clumsy :P
i am sure there is an easy way to do it
someone that knows will pop in here, soon :U
try this: create a layered Window (http://msdn.microsoft.com/en-us/library/ms997507.aspx) with the WS_POPUP and WS_VISIBLE style. Size the client area, so that it fits the screen. Then you can capture the mouseinput and draw your stuff at current postion.
(http://smiles.kolobok.us/light_skin/dash2.gif)
This look very simple I think because
Drag list used
http://www.codeguru.com/cpp/controls/listview/dragdrop/article.php/c6399/A-Drag-and-Drop-List-Control.htm
Tutorial 18: Common Controls
QuoteDrag list control are souped-up listbox so it doesn't have its own class.
http://win32assembly.online.fr/tut18.html
After selected Item changed destroyed picture with selected Item's
http://xmages.net/storage/10/1/0/e/7/upload/388d18da.gif
http://xmages.net/storage/10/1/0/e/7/upload/62611780.gif
http://xmages.net/storage/10/1/0/e/7/upload/f481a9aa.gif
(http://smiles.kolobok.us/standart/heat.gif)
(http://xmages.net/storage/10/1/0/6/0/upload/145832f1.gif)
very nice !!! :U
what function did you use to create the drag window ?
any
Quoteinvoke CreateWindowEx, NULL, addr ListViewClassName, NULL,\
WS_CHILD or WS_VISIBLE or LVS_REPORT or LVS_SHAREIMAGELISTS or LVS_SHOWSELALWAYS,\
0,0,0,0, hWnd, NULL, hInstance, NULL
mov hList, eax
mov eax, LVS_EX_FULLROWSELECT or LVS_EX_HEADERDRAGDROP or\
LVS_EX_SUBITEMIMAGES or LVS_EX_GRIDLINES
INVOKE SendMessage, hList, LVM_SETEXTENDEDLISTVIEWSTYLE, 0, eax
Tutorial 18: Common Controls
QuoteDrag list control are souped-up listbox so it doesn't have its own class.
LVS_EX_HEADERDRAGDROP - this is drag list!!!
http://www.codeguru.com/cpp/controls/listview/dragdrop/article.php/c6399/A-Drag-and-Drop-List-Control.htm
In this very good example error occurs - if you drag selected item and quickly and immediately move mouse down or up this destroy capture. In my code I make mouse-recapture and this artifact not occurs
any window not need
LVM_CREATEDRAGIMAGE
ImageList_BeginDrag
.......................
(http://smiles.kolobok.us/standart/dance4.gif)
(http://xmages.net/storage/10/1/0/8/8/upload/ba41714b.gif)
Is it possible in your opinion, to change two elements of ListView by places open memory of dll process and change in the table memory addresses of data? and how it do approximately
i am not sure i understand the question :P
but, i think you may want something like this
1) allocate a large block of memory
2) place "entries" into the block, each entry represents a complete row in the listview
3) maintain a table of pointers - each entry in the table has the address (and maybe size) of the "entry"
now, when you want to move a row up or down, you only have to re-arrange the table of pointers
the entries, themselves, need not be moved around
it seems like a faster way to go
I want change Item by places without 'copy to memory item data - set this memory to new Item', only change in ListView table the offset's of memory which belong to Item's
To move Item down by one position I must allocate memory, copy to memory Item data, delete Item , insert new Item in new position and set allocating memory with coping data to new Item. I want do this without copy
May be somebody know C - I can't understand how here make drag image. That drag images for all selected items copy to one bitmap I understand, about green mask too, but how this bitmap moves with mouse?
http://www.codeguru.com/cpp/controls/listview/dragdrop/article.php/c989
http://www.codeguru.com/cpp/controls/listview/dragdrop/article.php/c929
http://www.codeguru.com/cpp/controls/listview/dragdrop/article.php/c6399/A-Drag-and-Drop-List-Control.htm
ps http://www.delphiforfun.org/programs/delphi_techniques/DragImageDemo.htm