Hi Wizard,
I was putting view1 on stack and then view2 also on stack. Probably that was causing the control to call OfferKeyEventL() of both view1 and view2 as both the views were on stack at the...
Type: Posts; User: cryptyritu; Keyword(s):
Hi Wizard,
I was putting view1 on stack and then view2 also on stack. Probably that was causing the control to call OfferKeyEventL() of both view1 and view2 as both the views were on stack at the...
I'm sorry Wizard. I have mentioned the wrong classes from which I have inherited. They are CCoeControl inherited classes. And control is going into both their OfferKeyEventL() methods.
Hi all,
I have 2 CCoeControl derived classes which I want to use as 2 screens of my application- view1 and view2. Both have their OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType) method....
Hi All,
This is my template class declaration and definition. I am getting many errors in this and not able to determine what's wrong with this class declaration. It will be really great if...
Hi All,
I want to create a custom query dialog with rounded rectangular shape. I am following this link:...
Ok,
That means a lot of coding. Thanks Wizard and Yucca.
Does that mean that I should create a full screen view, disable status pane and menubar, then draw menubar rectangles in the Draw() function and capture button clicks and screen taps(for touch...
Hi All,
I want to create custom menu bar with options and back button in symbian c++. Please provide some idea about how it can be done. I want to customize the colour and shape of the list box...
Thanks a lot Teemup :)
Hi Teemup,
This code is working well on device. But on emulator the drive is Z: which is ROM. So we cannot access this drive and its memory. But how to write my database file in private folder in...
Hi All,
I am creating a database file in private folder using S60 3rdEd. MR emulator. It gives System Error -21 in the file creation statement.
My code:
const TInt KPathNameLength = 200;...
Okay sure,
Thanks for the concept Wizard.
Thanks Wizard for the explanation.
Do you mean if instead of :
TBuf<300> tempItem;
_LIT(KFormat1,"%d\t%S\t%S\t");...
Thanks a lot Pavarang. :)
This really worked. But still not understanding why using Ptr() or PtrZ() is wrong?
Thanks a lot for your help.
Hi Pavarang,
I don't think the size is overshooting because my descriptors are very small in size 2, 6 and 17 in length. I have also tried Ptr() to get the pointer. It is also throwing same error.
Hi Yucca,
The size is (2+12+34) bytes. And I have taken TBuf of 300 length which is 600 bytes. So what could be the problem? Is this statement correct _LIT(KFormat1,"%d\t%S\t%S\t"); ?
When I try to...
Hi All,
I am trying to create a formatted string "1\tRITURAJ\t07-07-2012 11:47:06\t" and want to display it in a CAknDoubleGraphicStyleListBox object.
My code:
TBuf<300> tempItem;...
Hi Yucca,
Thanks for the reply. Could not get exactly what to do. Please explain a bit maybe using some example.
Thanks
Hi,
I am reading formatted text(with line changes) from a .txt file and displaying it on a RichTextEditor. In S60 5th Edition phones it is shown with the given line changes as in the original text...
Hi,
I have suddenly started getting this error:
Creation Time Description Resource Path Location Type
1336393111701
error: file I/O fault.
***Non-Zero Status: makesis.exe returned with exit...
Thanks to all. Indeed that was the problem. Got it fixed.
Hi Wizard,
Code for ShowCompletionNote(const TDesC& aTitle, const TDesC& aText)
void ShowCompletionNote(const TDesC& aTitle, const TDesC& aText)
{
CAknMessageQueryDialog* dlg = new (ELeave)...
Hi Wizard
Yes, definitely sure about the panicking line. Also ShowCompleteNote() is just a dialog box implementation method, having a title and message body. Seems like the pointer tempBuf->Des();...
I have passed this exact descriptor as argument to the function1():
_LIT(KSampleText,"ritu:raj;xxxx:yyyyyyy;zzzzz:aaaaaaaaa;;");
And also applied the checks as you mentioned. But still no respite.
Hi,
For testing purposes I have simplified the function like this,
void function1(const TDesC& aContactResponse)
{
HBufC *tempBuf = aContactResponse.AllocLC();
TInt...