how to show hidden files using j2me LWUIT api - java-me

I'm making a FileBrowser using LWUIT.
The problem is when I hide a file using setHidden(true) the application can never display it
any more using the listfiles() so I can't unhide it.

This seems to be an omission in LWUIT4IO. I fixed it in Codename One so it should work as expected there.

Related

VBA Ribbon validate imageMso

I'm creating a custom ribbon in Excel, and I'm using ImageMso's for icons. I downloaded the full list of Icons from Microsoft, and tried to create a menu that displays them all for me to choose, but some of them are not displaying.
Is there any way to validate if an imageMso code does not work with the current version of windows, and display a placeholder in it's place instead of a blank icon?
Thanks,
Daniel
In my experience the short answer is no, but I also haven't investigated or attempted to resolve it with any great tenacity. If it doesn't show up I will retry with a different icon.
Note that I am not an expert by any means, but have been playing around with customUI for a while.
There is a great free Add-In I found that helps with speeding up the whole process of identifying suitable icons. It's worth checking it out.
https://www.spreadsheet1.com/how-to-use-imagemso-icons-in-excel.html
Josh
PS. I hear this is particularly an issue going into the Office 2019.

Delete & Reload a "Add in" from Excel (Online & desktop app)

I want to know if there is way to delete/remove "Add-in" i have added in my online excel file (o365),currently I see remove (x) button in excel desktop app and it works like a charm it also has a reload option to just reload any particular "Add-in".
None of the two options (delete & reload)I could find in Online excel version, although for reload a simple f5 is enough,I am having a difficult time figuring out how to disable a addin i added for experimental use,I end up deleting the whole excel file which is very ridiculous,hope I am missing a simple trick and anybody can help me through.
One thing to add to Sudhi's answer: to fully remove an add-in from the document (rather than just make a task-pane invisible, but still keep the underlying application there, and still have it persist its settings and bindings and etc.), you would need to use the Document Inspector: http://www.makeuseof.com/tag/remove-hidden-personal-data-microsoft-office/
The only way is to open the document in desktop and remove the add-in. We have a roadmap item to allow closing either through close button or API. Until then I think closing in desktop is the only way.

Disable copy function in PDFTRON for Android

Is it possible to disable the copy option of the lib when selecting a text in the PDF using the PDFTron lib for Android?
I tried to search for the string, but also have not found it.
If you are using one of the mobile SDK's, or using our PDFViewWPF control for .Net 4+, then this is possible by modifying the tools code that is provided. There will one or two text selection tools, for which you can just comment out. Plus you would want to disable ctrl-c, and right click and select copy abilities. Exact code changes depends on platform. If you are using our older C++ PDFViewCtrl class this is harder to do, but I suspect you are not on this anyway.
Be aware though, there is no real way to prevent a user from extracting text from a PDF, since they can always open it in another PDF viewer and do it there.
See this form post for more info, including how to scramble the unicode values of text.
https://groups.google.com/forum/#!searchin/pdfnet-sdk/disable$20text/pdfnet-sdk/luWQmyhRDTw/z7UIGuu9uYkJ
Note, you will probably be interested in the PDFTron WebViewer technology, which provides much greater control over content. In particular, the original PDF file is never exposed to anyone for download. You can also encrypt the XOD file, so it cannot be opened in an XPS viewer, and you have full control over the UI, including disabling text search/extraction.
https://www.pdftron.com/webviewer/showcase/
https://www.pdftron.com/webviewer/index.html

Command in LWUIT

How to add more than 2 command in a single row in at the Footer in lwuit Form ,suppose I want to add Back,Select,and Exit Command in a single row,how can I do that? Help with some example.
Use Display.getInstance().setThirdSoftButton(true); for showing three softbutton's.
You can also write your_Form.setDefaultCommand(the_command_in_the_middle);
I noticed that setting commandBehaviour to SoftKey in the resource editor makes all your commands align on one side, typical blackberry behaviour, works on nokia also. It is a property of one of the constants of the theme in the resource editor.

Problem displaying Icon in a button in windows xp(SP2) (MFC)!

I had a problem in displaying icon in button along with the Text in MFC application.. after reading lot of arctilces I got a solution for that and it worked great.But when I tested my application in win xp(SP2)..it suprised me by not showing the icon..Check the below code which i used to display the icon along with a test in button..Please let me know if there are any fix for this issue..waiting for your replies
HICON addIcon = (HICON)LoadImage(AfxGetApp()->m_hInstance,MAKEINTRESOURCE(IDI_ICON4),
IMAGE_ICON,0,0,LR_DEFAULTCOLOR);
SendMessageA(::GetDlgItem(m_hWnd,IDC_ADD),BM_SETIMAGE,IMAGE_ICON,(LPARAM)(DWORD)addIcon);
If you're using VS2008 (you should), use CMFCButton from the Feature Pack. It has much better support for bitmapped buttons.
I can confirm that i can't get it to work (on Win2003, my primary development machine) and a brief search on the web found many complaints but no viable answers.
My only suggestion would be to do an ownerdraw button - handling the WM_DRAWITEM message is not difficult and may resolve this issue for you across the board.
see "Native Win32 Theme aware Owner-draw Controls without MFC"

Resources