Einzelnen Beitrag anzeigen

Benutzerbild von mOzZzI
mOzZzI

Registriert seit: 11. Nov 2005
Ort: Bamberg
320 Beiträge
 
Delphi 2006 Professional
 
#5

Re: Desktop - Smaller Beta <Frage zu Copyright>

  Alt 10. Jun 2006, 19:51
Zitat von Daniel G:
Zitat von mOzZzI:
Jetzt ist meine Frage, wie sieht es da aus, darf ich den Text der MSDN in mein Programm auch hineinschreiben?
Das hab' ich schon kapiert.

Welche Art von Text isses denn? Poste doch mal.
MSDN Text

Zitat von Programmtext:
-------------------------------------------------------------------------------------->
List-View Window Styles
-------------------------------------------------------------------------------------->
The following window styles are specific to list-view controls.
-------------------------------------------------------------------------------------->
Constants
-------------------------------------------------------------------------------------->

LVS_ALIGNLEFT
Items are left-aligned in icon and small icon view.

LVS_ALIGNMASK
Determines the control's current alignment.

LVS_ALIGNTOP
Items are aligned with the top of the list-view control in icon and small icon view

LVS_AUTOARRANGE
Icons are automatically kept arranged in icon and small icon view.

LVS_EDITLABELS
Item text can be edited in place. The parent window must process the
LVN_ENDLABELEDIT </library/en-
us/shellcc/platform/commctls/listview/notifications/lvn_endlabeledit.asp> notification
message.

LVS_ICON
This style specifies icon view.

LVS_LIST
This style specifies list view.

LVS_NOCOLUMNHEADER
Column headers are not displayed in report view. By default, columns have headers in
report view.

LVS_NOLABELWRAP
Item text is displayed on a single line in icon view. By default, item text may wrap in icon
view.

LVS_NOSCROLL
Scrolling is disabled. All items must be within the client area. This style is not compatible
with the LVS_LIST </library/en-
us/shellcc/platform/commctls/listview/styles.asp>
or LVS_REPORT </library/en-us/shellcc/platform/commctls/listview/styles.asp> styles.
See Knowledge Base Article Q137520 for further discussion.

LVS_NOSORTHEADER
Column headers do not work like buttons. This style can be used if clicking a column
header in report view does not carry out an action,
such as sorting.

LVS_OWNERDATA
Version 4.70 </library/en-us/shellcc/platform/shell/programmersguide/versions.asp>.
This style specifies a virtual list-view control. For
more information about this list control style,
see List-View Controls Overview </library/en-
us/shellcc/platform/commctls/listview/listview_overview.asp>.

LVS_OWNERDRAWFIXED
The owner window can paint items in report view. The list-view control sends a
WM_DRAWITEM </library/en-
us/shellcc/platform/commctls/comboboxes/comboboxreference/comboboxmessages/w
m_drawitem.asp>
message to paint each item;
it does not send separate messages for each subitem. The iItemData member of the
DRAWITEMSTRUCT </library/en-
us/shellcc/platform/commctls/comboboxes/comboboxreference/comboboxstructures/dr
awitemstruct.asp> structure contains
the item data for the specified list-view item.

LVS_REPORT
This style specifies report view. When using the LVS_REPORT style with a list-view
control, the first column is always left-aligned.
You cannot use LVCFMT_RIGHT to change this alignment. See LVCOLUMN
</library/en-
us/shellcc/platform/commctls/listview/structures/lvcolumn.asp> for further information on
column alignment.

LVS_SHAREIMAGELISTS
The image list will not be deleted when the control is destroyed. This style enables the
use of the same image lists with multiple list-view
controls.

LVS_SHOWSELALWAYS
The selection, if any, is always shown, even if the control does not have the focus.

LVS_SINGLESEL
Only one item at a time can be selected. By default, multiple items may be selected.

LVS_SMALLICON
This style specifies small icon view.

LVS_SORTASCENDING
Item indexes are sorted based on item text in ascending order.

LVS_SORTDESCENDING
Item indexes are sorted based on item text in descending order.

LVS_TYPEMASK
Determines the control's current window style.

LVS_TYPESTYLEMASK
Determines the window styles that control item alignment and header appearance and
behavior.
-------------------------------------------------------------------------------------->
Remarks
-------------------------------------------------------------------------------------->
For the LVS_SORTASCENDING </library/en-
us/shellcc/platform/commctls/listview/styles.asp> and LVS_SORTDESCENDING
</library/en-us/shellcc/platform/commctls/listview/styles.asp> styles,
item indexes are sorted based on item text in ascending or descending order,
respectively. Because the LVS_LIST and LVS_REPORT
views display items in the same order as their indexes, the results
of sorting are immediately visible to the user. The LVS_ICON </library/en-
us/shellcc/platform/commctls/listview/styles.asp> and
LVS_SMALLICON </library/en-us/shellcc/platform/commctls/listview/styles.asp>
views do not use item indexes to determine the position of icons. With those views, the
results of sorting are not visible to the user.
You can use the LVS_TYPEMASK </library/en-
us/shellcc/platform/commctls/listview/styles.asp> mask to isolate the window styles that
correspond to the current view: LVS_ICON, LVS_LIST, LVS_REPORT,
and LVS_SMALLICON.
You can use the LVS_ALIGNMASK </library/en-
us/shellcc/platform/commctls/listview/styles.asp> mask to isolate the window styles that
specify the alignment of items: LVS_ALIGNLEFT </library/en-
us/shellcc/platform/commctls/listview/styles.asp>
and LVS_ALIGNTOP </library/en-us/shellcc/platform/commctls/listview/styles.asp>.
You can use the LVS_TYPESTYLEMASK </library/en-
us/shellcc/platform/commctls/listview/styles.asp> mask to isolate the window
styles that control item alignment (LVS_ALIGNLEFT and LVS_ALIGNTOP)
and those that control header appearance and behavior (LVS_NOCOLUMNHEADER
</library/en-
us/shellcc/platform/commctls/listview/styles.asp> and LVS_NOSORTHEADER
</library/en-
us/shellcc/platform/commctls/listview/styles.asp>).
-------------------------------------------------------------------------------------->
-------------------------------------------------------------------------------------->
--Mfg mozZzI--------------
Get & Test my ToolBar (550 KB)
Thread & Comments Here
------------------------------
  Mit Zitat antworten Zitat