How to properly use CDialog::Create for Modalless dialogs MFC - visual-c++

I am trying to create a Modalless dialog in my exsisting project. CDialog::Create cause debug assertion. I tried a new Dialog based application and followed the same steps, the dialog gets created without any error.
Also in my exsisiting project I am using MFC as static Library, can this affect the functionality?
really looking forward for any helpful replies
Best Regards

Well this is just a stab in the dark given the vagueness and lack of information in the question, but have you created the dialog as a WS_CHILD and not WS_POPUP?

Related

Side Bar Menu in Xamarin.iOS

I'm MVC .Net Developer and just a beginner in Xamarin.ios. I want to implement side bar menu slider in my app but I'm not understanding how to design it in storyboard. I've gone through some links as follows.
https://components.xamarin.com/view/sidebarnavigation
https://github.com/TheEightBot/Xamarin.SideMenu
Please provide me some helpful links and suggestions for it.
Any help is appreciated. Thank You
The best way to do this is to use the split view controller. When you create the new xamarin ios project you should select that as the template. You will need to understand UITableviews to create the navigation pane, but there are plenty of resources on that.
If you want a more customizable option I would recommend looking at syncfusion which is free to use for small organizations and developers. Here is a link to there site on how to create a custom navigation pane: https://www.syncfusion.com/products/xamarin-ios/navigationdrawer
Hope this helps. If you would like more specific info, comment and let me know. Xamarin can be kind of difficult to get into but it's a great way to build apps once you get used to it.

How can I programmatically show the select device dialog?

I am using the Cast Companion Library and most of it is working well however I have not been able to figure out how to show the device chooser programmatically.
Basically when a user chooses a video on my app I would like to show the chooser if they haven't yet connected.
Thanks.
If you are using the MediaRouteButton and it's accessible:
mediaRouteButton.performClick();
you need to "Developing a custom UI with the MediaRouter API’s and MediaRouter.Callback" but I didn't find any example how to do it .
First, I suggest you do not do that. I don't know what you are planning to do in your app so I can't say much but don't do something custom in terms of user interaction/flow that is different from other apps and the apps offered by the framework; people will not expect that.
On the technical side, if you want to open the standard dialog, I am not aware of any trick but I haven't looked at the MediaRouter code in v7 support library for that; since that is open source, you are welcome to look in there and see if there is any simple way to do that. If you want to design your custom one, you should be able to do that; the CastCompanionLibrary provides a sample of the Callback dialog and the one for chooser follows a similar pattern.
As a side note, you mentioned you want to open the chooser when user selects a movie. So how can they select to play locally? Are you planning to add additional selection to that dialog for local playback?

Drag and Drop from Silverlight OOB to another App

Well, here is another question that I think has been answered, but I need to ask it anyway. Is it possible to create a customized Silverlight 5 control that can be dragged from one application to another? The behavior I would like to emulate is like the Spy++ Crosshair Icon.
Thanks guys!
So after much research and deliberation, we abandoned the idea of using Silverlight to achieve our goal. The resulting application is a Windows Forms desktop application.
Since no one here decided to help answering this particular question, I will answer it with this: It is not possible to use Silverlight to create a control that you can drag over to an external application and find the Window Handle information for that external app.

Rhomobile add buttons and toolbar to mapview

I am using Rhodes 3.1.0 and trying to implement some mapViews on my App.
From the tutorial I can display the map correctly with all the points I need. Now what I need to do is add some extra buttons/toolbar there so the user can perform some desired actions.
I haven't been able to find any information about this. I have been asking on Rhomobile's Google Group, but haven't got any good answers yet.
I got a suggestion to try this example app, but the app stops responding or I get an error when I try to view the Map.
Any help on how to add additional buttons to the view is greatly appreciated
Related to your other question, I think the way to handle this will be to have the URL for your pin point to a controller and action within your application in the form "/app/Controller/action".
The extra buttons can only be added on the working master branch. It does not work on the current release version of Rhodes 3.1.
If you try the example app with the master branch version you will be able to see the extra features.
The source code can be installed following these instructions

WiX Standard Dialogues

Does anyone know if there are any WiX standard UI dialouges out there that you can use to integrate into your own WiX msi package?
For example:
Editing Connection Strings to database
Editing paths to log files in web.config/app.config
Setting up users for a Windows Service
Setting up WCF Endpoint addresses and other parameters
This would be very helpful!
I've haven't seen any UI dialog package either.
WixEdit has a dialog editor which I've heard is pretty useful, but I haven't used.
War Setup is a pretty good utility. It's been about a year since I've used it, so I don't remember if it has a dialog editor or not.
Edit: I couldn't think of the one I really loved, but I just found it: WixAware. It has probably the best dialog editor. The only thing is that it's trialware and the full version is $800.
Not today no. They aren't that hard to write though.

Resources