Hello, I'm still facing the problem. The dialog does not allow to make custom control as large as the whole client rect.

Please see screenshots at
http://www.5pro-software.com/symbiantest/customctr.png

The questions are:
1. Can I prevent dialog from leaving that empty area?
2. Can I get a pointer to that strange window [64] to resize it manually?
3. It there any way out at all?
Thanks in advance for any help.

Yura
*************************** wserv.log **************
-----------------------DIALOG_START----- 0.000
[start of command buffer from app 10] 0.000
.......
[start of command buffer from app 10] 0.000
RWsSession[1]::CreateWindow(64,100b7940) 0.000 // what is that window and why it is created?
returns 4784193 (0x490041) 0.010
Client Connected 12 0.000
returns 131073 (0x20001) 0.000
[start of command buffer from app 12] 0.000
RWsSession[1]::LogMessage(...) 0.000
---------Custom control ConstructFromReaourceL start---- 0.010
[start of command buffer from app 10] 0.000
RWindow[65]::SetPointerGrab(1) 0.000 //my control's window. Where is [65] created?
RWindow[65]::SetShadowDisabled(ETrue) 0.000
RWindow[65]::SetBackgroundColor({255,255,255}) 0.000
Client 12 destructing 0.000
[start of command buffer from app 10] 0.000
RWindow[65]::PointerFilter(0x00000004) 0.000
RWindow[65]::SetPointerGrab(1) 0.000
RWsSession[1]::CreateGc() 0.000
returns 4849730 (0x4a0042) 0.010
[start of command buffer from app 10] 0.000
RGc[66]::Activate(65) 0.000
RGc[66]::UseFont({0xb544}) 0.000
RWindow[65]::InquireOffset(3) 0.000
Reply Buffer: {0,0} 0.000
[start of command buffer from app 10] 0.000
RWindow[65]::InquireOffset(3) 0.000
Reply Buffer: {0,0} 0.000
.............
RWindow[65]::InquireOffset(3) 0.000
Reply Buffer: {0,0} 0.000
[start of command buffer from app 10] 0.000
RWindow[65]::InquireOffset(3) 0.000
Reply Buffer: {0,0} 0.000
Client Connected 13 0.000
returns 131073 (0x20001) 0.000
[start of command buffer from app 13] 0.000
RWsSession[1]::LogMessage(...) 0.000
----------Custom control ConstructFromReaourceL end---- 0.000
Client 13 destructing 0.000
Client Connected 14 0.000
returns 131073 (0x20001) 0.000
[start of command buffer from app 14] 0.000
RWsSession[1]::LogMessage(...) 0.000
---------------PreLayoutDynInitL() done- 0.000
Client 14 destructing 0.000
[start of command buffer from app 10] 0.000
...............
[start of command buffer from app 10] 0.000
RWindow[64]::SetExtent({0,0}, {0,0}) 0.000
RWindow[65]::SetExtent({0,0}, {0,0}) 0.000
RWindow[64]::SetExtent({1,7}, {174,128}) 0.000 // !!! Here is the problem. Can I affect [64]'s extent somehow?
RWindow[65]::SetExtent({0,0}, {174,128}) 0.010
RWindow[65]::InquireOffset(3) 0.000
Reply Buffer: {1,51} 0.000
[start of command buffer from app 10] 0.000
RWindow[65]::InquireOffset(3) 0.000
Reply Buffer: {1,51} 0.000
[start of command buffer from app 10] 0.000
RWindow[17]::InquireOffset(3) 0.000
Reply Buffer: {0,44} 0.000
[start of command buffer from app 10] 0.000
RWindow[17]::InquireOffset(3) 0.000
Reply Buffer: {0,44} 0.000
Client Connected 15 0.000
returns 131073 (0x20001) 0.000
[start of command buffer from app 15] 0.000
RWsSession[1]::LogMessage(...) 0.000
-----------------PostLayoutDynInitL() done 0.000
Client 15 destructing 0.000
[start of command buffer from app 10] 0.000
RWindow[65]::SetPosition({0,0}) 0.000
RWindow[17]::SetPointerCapture(1) 0.000
RWindow[17]::EnableBackup() 0.000
RWindow[65]::SetVisible(EFalse) 0.000
RWindow[65]::SetVisible(ETrue) 0.000
RWindow[61]::SetExtent({84,0}, {0,20}) 0.000
RWindow[63]::SetExtent({84,10}, {0,10}) 0.000
RWindow[63]::InquireOffset(3) 0.000
Reply Buffer: {84,198} 0.000
[start of command buffer from app 10] 0.000
RWindow[62]::SetExtent({84,0}, {0,10}) 0.000
RWindow[62]::InquireOffset(3) 0.000
...........
RWindow[64]::SetExtent({1,7}, {174,128}) 0.000 //!!! again
RWindow[65]::SetExtent({0,0}, {174,128}) 0.000
RWindow[65]::SetOrdinalPosition(0) 0.000
RWindow[65]::InquireOffset(3) 0.000
Reply Buffer: {1,51} 0.000
[start of command buffer from app 10] 0.000
RWindow[65]::InquireOffset(3) 0.000
Reply Buffer: {1,51} 0.000
[start of command buffer from app 10] 0.000
RWindow[65]::InquireOffset(3) 0.000
Reply Buffer: {1,51} 0.010
[start of command buffer from app 10] 0.000
RWindow[65]::InquireOffset(3) 0.000
Reply Buffer: {1,51} 0.000
[start of command buffer from app 10] 0.000
RWindow[64]::SetExtent({1,7}, {174,128}) 0.000
RWindow[17]::Activate() 0.010
RWsSession[1]::PurgePointerEvents() 0.000
RWindow[65]::Activate() 0.000
RWindow[64]::Activate() 0.000
RWsSession[1]::EventReady(TInt *stat) 0.000
Event signalled for App 10 0.000
[start of command buffer from app 10] 0.000
RGc[4]::Activate(55) 0.000
......
----------------------Draw dialog start---- 0.000
[start of command buffer from app 10] 0.000
RGc[4]::Activate(17) 0.000
RGc[4]::SetBrushStyle(1) 0.000
RGc[4]::SetBrushColor({255,255,255}) 0.000
RGc[4]::SetPenColor({0,0,0}) 0.000
......
--------------------Draw dialog end----
....