head	1.3;
access;
symbols;
locks
	root:1.3; strict;
comment	@# @;


1.3
date	2009.12.01.05.47.36;	author root;	state Exp;
branches;
next	1.2;

1.2
date	2009.12.01.05.47.19;	author root;	state Exp;
branches;
next	1.1;

1.1
date	2009.11.24.02.19.03;	author root;	state Exp;
branches;
next	;


desc
@/opt/nforge/var/wiki/easylogiclib/data/text/WBOBJ
@


1.3
log
@118.219.84.10;;cyberuls easylogic ;;
@
text
@= Description = 

 * WBOBJ 구조체를 표현한다. 
 * winbinder 의 인스턴스의 구조체이다. 

= Struct = 

{{{
hwnd	: HANDLE	
id	: UINT	
uclass	: UINT	
item	: INT	
subitem : INT
style	: DWORD
parent	: ULONG	
handler : LPTSTR
param	: LPARAM	
params	: LONG[8]
pbuffer : HANDLE	
}}}

 * 구조체 타입의 클래스에서는 각각의 요소가 순서가 뒤바뀌면 안된다. 순서에 맞게 작성이 되어야 한다.
 * [WBType] 에 있는 자료형을 사용 한다.

= Sample = 

{{{#!vim php

<?php
/**
 * WBOBJ , winbinder struct 
 *
 */
class WBOBJ extends WBStruct { 

	public function __construct($unpack = null) { 
		$data = array(
			array('name' => 'hwnd',		'type' => WBType::HANDLE),	
			array('name' => 'id',		'type' => WBType::UINT),	
			array('name' => 'uclass',	'type' => WBType::UINT),	
			array('name' => 'item',		'type' => WBType::INT),	
			array('name' => 'subitem',	'type' => WBType::INT),	
			array('name' => 'style',	'type' => WBType::DWORD),	
			array('name' => 'parent',	'type' => WBType::ULONG),	
			array('name' => 'handler',	'type' => WBType::LPTSTR),	
			array('name' => 'param',	'type' => WBType::LPARAM),	
			array('name' => 'params',	'type' => WBType::LONG, 'count' => 8),	
			array('name' => 'pbuffer',	'type' => WBType::HANDLE),	
		);
		
		parent::__construct($data, $unpack);
	}
}
?>
}}}
@


1.2
log
@118.219.84.10;;cyberuls easylogic ;;
@
text
@d27 1
a27 1
{{{
@


1.1
log
@118.219.84.10;;cyberuls easylogic ;;
@
text
@d3 2
a4 2
* WBOBJ 구조체를 표현한다. 
* winbinder 의 인스턴스의 구조체이다. 
d8 1
a8 1
<php>
d20 1
a20 1
</php>
d22 2
a23 2
* 구조체 타입의 클래스에서는 각각의 요소가 순서가 뒤바뀌면 안된다. 순서에 맞게 작성이 되어야 한다.
* [[WBType]] 에 있는 자료형을 사용 한다.
d27 3
a29 1
<php>
d54 2
a55 1
</php>
@
